feat: Changement de type de router
This commit is contained in:
parent
0078893beb
commit
23375a7f7b
@ -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 />,
|
||||
|
Reference in New Issue
Block a user