aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/client/App.tsx
blob: 01d843a2459d9236f3be0bcb102c07508ccfc16a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { Route, Switch } from "wouter";
import { HomePage, LoginPage, NotFoundPage, RegisterPage } from "./pages";

export function App() {
	return (
		<Switch>
			<Route path="/" component={HomePage} />
			<Route path="/login" component={LoginPage} />
			<Route path="/register" component={RegisterPage} />
			<Route component={NotFoundPage} />
		</Switch>
	);
}