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