diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-01-07 12:54:34 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-01-07 12:54:34 +0300 |
| commit | ad3762495bd7122623a64fd5c660024b1922c56d (patch) | |
| tree | 0ff4f37f7cbcf4d9f947adf7b55dc6038c4aac8b /frontend/src/main.tsx | |
| parent | what the fuck is this mess (#21) (diff) | |
| download | lphub-ad3762495bd7122623a64fd5c660024b1922c56d.tar.gz lphub-ad3762495bd7122623a64fd5c660024b1922c56d.tar.bz2 lphub-ad3762495bd7122623a64fd5c660024b1922c56d.zip | |
switch to react
Diffstat (limited to '')
| -rw-r--r-- | frontend/src/main.tsx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx new file mode 100644 index 0000000..791f139 --- /dev/null +++ b/frontend/src/main.tsx | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | import React from 'react' | ||
| 2 | import ReactDOM from 'react-dom/client' | ||
| 3 | import App from './App' | ||
| 4 | import './index.css' | ||
| 5 | |||
| 6 | ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render( | ||
| 7 | <React.StrictMode> | ||
| 8 | <App /> | ||
| 9 | </React.StrictMode>, | ||
| 10 | ) | ||