import React from "react";
import { createHashRouter } from "react-router-dom";
import { Layout } from "./Layout";
import NotFound from "./routes/NotFound";
import { ListeResistants } from "./routes/Liste";
import { PageResistant } from "./routes/PageResistant";
export const router = createHashRouter([
{
path: "/",
element: ,
errorElement: ,
children: [
{
path: "/",
element: ,
},
{
path: ":idResistant",
element: ,
},
],
},
]);