mirror of
https://github.com/harivansh-afk/Habit-Tracker.git
synced 2026-04-16 21:03:45 +00:00
Version 1.0.0
This commit is contained in:
parent
d412046627
commit
c346bfeb12
5 changed files with 385 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { StrictMode } from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import { HashRouter } from 'react-router-dom';
|
||||
import App from './App';
|
||||
import './index.css';
|
||||
|
||||
|
|
@ -8,6 +9,8 @@ if (!rootElement) throw new Error('Failed to find the root element');
|
|||
|
||||
createRoot(rootElement).render(
|
||||
<StrictMode>
|
||||
<App />
|
||||
<HashRouter>
|
||||
<App />
|
||||
</HashRouter>
|
||||
</StrictMode>
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue