diff --git a/cake-game/src/Error.jsx b/cake-game/src/Error.jsx index 0483853..041991b 100644 --- a/cake-game/src/Error.jsx +++ b/cake-game/src/Error.jsx @@ -2,6 +2,7 @@ import { useRouteError } from "react-router-dom"; import StartButton from "./components/start-button/StartButton"; import "./Error.css"; +import Header from "./components/header/Header"; function Error() { const error = useRouteError(); @@ -9,6 +10,7 @@ function Error() { return ( <> +

The cake is a lie!

Sorry, an unexpected error has occurred. Please try again.

diff --git a/cake-game/src/main.jsx b/cake-game/src/main.jsx index de88a9e..d695785 100644 --- a/cake-game/src/main.jsx +++ b/cake-game/src/main.jsx @@ -28,7 +28,7 @@ const router = createBrowserRouter([ element: }, { - path: '/play', //?username=:username', + path: '/play', element: } ]