Remove App component

This commit is contained in:
Ariful Alam 2024-01-20 18:28:08 +06:00
parent aa4c6928d6
commit c5318da457
2 changed files with 2 additions and 9 deletions

View File

@ -1,7 +0,0 @@
import GitProfile from './components/gitprofile';
function App() {
return <GitProfile config={CONFIG} />;
}
export default App;

View File

@ -1,9 +1,9 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App.tsx';
import GitProfile from './components/gitprofile.tsx';
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<App />
<GitProfile config={CONFIG} />;
</React.StrictMode>,
);