mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-11-25 15:29:54 +00:00
Remove App component
This commit is contained in:
1 parent
aa4c6928d6
commit
c5318da457
2 files changed
+2
-9
No files matched your search
@@ -1,7 +0,0 @@
|
|||||||
import GitProfile from './components/gitprofile';
|
|
||||||
|
|
||||||
function App() {
|
|
||||||
return <GitProfile config={CONFIG} />;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default App;
|
|
||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import ReactDOM from 'react-dom/client';
|
import ReactDOM from 'react-dom/client';
|
||||||
import App from './App.tsx';
|
import GitProfile from './components/gitprofile.tsx';
|
||||||
|
|
||||||
ReactDOM.createRoot(document.getElementById('root')!).render(
|
ReactDOM.createRoot(document.getElementById('root')!).render(
|
||||||
<React.StrictMode>
|
<React.StrictMode>
|
||||||
<App />
|
<GitProfile config={CONFIG} />;
|
||||||
</React.StrictMode>,
|
</React.StrictMode>,
|
||||||
);
|
);
|
||||||
Reference in new issue
Block a user