Skip to content

Commit

Permalink
attempted fix of routing
Browse files Browse the repository at this point in the history
  • Loading branch information
agprett committed Jan 13, 2024
1 parent df2c508 commit b25207e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ const routes = createBrowserRouter([
element: <App />
},
{
path: 'players',
path: '/players',
element: <Players />
},
{
path: 'game',
path: '/game',
element: <Game />
},
{
path: 'game-over',
path: '/game-over',
element: <GameOver />
}
], {
Expand Down

0 comments on commit b25207e

Please sign in to comment.