aboutsummaryrefslogtreecommitdiff
path: root/src/routes.tsx
blob: b9b39da2cdb74f3b23ca75d3b6c78836c91d6fab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { Switch, Route } from 'react-router-dom';

import './global.css';

import HomePage from './pages/home';
import SettingsPage from './pages/settings';

export default function Router() {
	return <Switch>
		<Route exact path='/' component={HomePage}/>
		<Route exact path='/settings' component={SettingsPage}/>
	</Switch>;
}