feat: Changement de type de router

This commit is contained in:
Simon C 2024-04-04 23:35:50 +02:00
parent 0078893beb
commit 23375a7f7b

View File

@ -1,7 +1,7 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
import {
createBrowserRouter,
createHashRouter,
RouterProvider,
} from "react-router-dom"
import './globals.css'
@ -12,7 +12,7 @@ import Dashboard05 from "./blocks/Dashboard05";
import MailBlocks from "./blocks/mail/MailBlocks";
import TasksBlocks from "./blocks/tasks/TasksBlocks";
const router = createBrowserRouter([
const router = createHashRouter([
{
path: "/",
element: <Root />,