add routing

This commit is contained in:
Collin M. Barrett 2019-08-24 20:20:18 -05:00
parent 73c6dc3ee8
commit 84b0d0adcc

View file

@ -70,7 +70,7 @@ const Donate = (): JSX.Element =>
Donate
</a>;
const NotFound = (props: RouteComponentProps) =>
const NotFound = (props: RouteComponentProps): JSX.Element =>
<h2>
404 Not Found: <code>{props.location.pathname}</code>
</h2>;