Skip to content

Commit

Permalink
correção dos routes para a aplicação
Browse files Browse the repository at this point in the history
  • Loading branch information
hiago rodrigues committed Jan 21, 2025
1 parent 6fb177a commit b7d922f
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 0 deletions.
62 changes: 62 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"gh-pages": "^6.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^7.1.3",
"react-scripts": "^5.0.1",
"styled-components": "^6.1.12",
"web-vitals": "^2.1.4"
Expand Down
4 changes: 4 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ const router = createBrowserRouter([
path: "/",
element: <Root/>,
},
{
path: "/vidanigmas",
element: <Root/>,
},
{
path: "/jogo",
element: <Jogo/>,
Expand Down

0 comments on commit b7d922f

Please sign in to comment.