mirror of
https://github.com/harivansh-afk/Habit-Tracker.git
synced 2026-04-18 11:02:09 +00:00
first commit
This commit is contained in:
commit
de1634d659
22 changed files with 6105 additions and 0 deletions
13
src/main.tsx
Normal file
13
src/main.tsx
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { StrictMode } from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import App from './App';
|
||||
import './index.css';
|
||||
|
||||
const rootElement = document.getElementById('root');
|
||||
if (!rootElement) throw new Error('Failed to find the root element');
|
||||
|
||||
createRoot(rootElement).render(
|
||||
<StrictMode>
|
||||
<App />
|
||||
</StrictMode>
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue