Skip to content

Commit

Permalink
Default name for routes
Browse files Browse the repository at this point in the history
  • Loading branch information
dcruzb committed Jul 31, 2023
1 parent 5bc29c2 commit 902724e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { CssBaseline } from '@mui/material';
import Rotas from './routes';
import RoutesApp from './routes';

function App() {
return (
<>
<CssBaseline />
<Rotas />
<RoutesApp />
</>
);
}
Expand Down
4 changes: 2 additions & 2 deletions src/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { BrowserRouter, Route, Routes } from 'react-router-dom';
import Home from './pages/Home/index';
import ConferencePage from './components/ConferencePage';

function Rotas() {
function RoutesApp() {
return (
<BrowserRouter>
<Routes>
Expand All @@ -19,4 +19,4 @@ function Rotas() {
);
}

export default Rotas;
export default RoutesApp;

0 comments on commit 902724e

Please sign in to comment.