diff options
Diffstat (limited to 'src/routes.tsx')
-rw-r--r-- | src/routes.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/routes.tsx b/src/routes.tsx index 91768f6..b9b39da 100644 --- a/src/routes.tsx +++ b/src/routes.tsx @@ -3,12 +3,12 @@ import { Switch, Route } from 'react-router-dom'; import './global.css'; import HomePage from './pages/home'; +import SettingsPage from './pages/settings'; -function Router() { +export default function Router() { return <Switch> <Route exact path='/' component={HomePage}/> + <Route exact path='/settings' component={SettingsPage}/> </Switch>; } -export default Router; - |