feat: Changement de type de router
This commit is contained in:
parent
0078893beb
commit
23375a7f7b
@ -1,7 +1,7 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import ReactDOM from 'react-dom/client'
|
import ReactDOM from 'react-dom/client'
|
||||||
import {
|
import {
|
||||||
createBrowserRouter,
|
createHashRouter,
|
||||||
RouterProvider,
|
RouterProvider,
|
||||||
} from "react-router-dom"
|
} from "react-router-dom"
|
||||||
import './globals.css'
|
import './globals.css'
|
||||||
@ -12,7 +12,7 @@ import Dashboard05 from "./blocks/Dashboard05";
|
|||||||
import MailBlocks from "./blocks/mail/MailBlocks";
|
import MailBlocks from "./blocks/mail/MailBlocks";
|
||||||
import TasksBlocks from "./blocks/tasks/TasksBlocks";
|
import TasksBlocks from "./blocks/tasks/TasksBlocks";
|
||||||
|
|
||||||
const router = createBrowserRouter([
|
const router = createHashRouter([
|
||||||
{
|
{
|
||||||
path: "/",
|
path: "/",
|
||||||
element: <Root />,
|
element: <Root />,
|
||||||
|
Reference in New Issue
Block a user