Skip to content

Commit

Permalink
Fixed navegation to users
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcosBarrilVillaverde committed May 1, 2024
1 parent cceeb46 commit c997a9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/components/nav/Nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const Nav = () => {
<Link to='/appQuestion' style={{color:'#0F0F0F', textDecoration: 'none', marginRight: '2vw', fontSize: '1.25rem'}}>
Almacén de preguntas
</Link>
<Link to='/users' style={{color:'#0F0F0F', textDecoration: 'none', fontSize: '1.25rem'}}>
<Link to='/ranking' style={{color:'#0F0F0F', textDecoration: 'none', fontSize: '1.25rem'}}>
Usuarios
</Link>
</Container>
Expand Down
2 changes: 2 additions & 0 deletions webapp/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import AppQuestion from './storeQuestion/App'
import Help from './help/Help';
import GameConfiguration from './components/game/GameConfiguration';
import Calculator from './components/game/Calculator';
import Ranking from './usersRanking/App'


const root = ReactDOM.createRoot(document.getElementById('root'));
Expand All @@ -35,6 +36,7 @@ root.render(
<Route path="/help" element={<Help/>}></Route>
<Route path="/gameConfiguration" element={<GameConfiguration/>}></Route>
<Route path="/calculator" element={<Calculator/>}></Route>
<Route path="/ranking" element={<Ranking/>}></Route>
</Routes>
</Router>
</React.StrictMode>
Expand Down

0 comments on commit c997a9f

Please sign in to comment.