Remove old redirect when route isn't found

This commit is contained in:
Sean Yesmunt 2019-09-02 22:19:40 -04:00
parent 9cd917bed5
commit a7c6a002de

View file

@ -71,10 +71,6 @@ function AppRouter(props: Props) {
<Route path="/:claimName" exact component={ShowPage} /> <Route path="/:claimName" exact component={ShowPage} />
<Route path="/:claimName/:streamName" exact component={ShowPage} /> <Route path="/:claimName/:streamName" exact component={ShowPage} />
<Route path="/*" component={FourOhFourPage} /> <Route path="/*" component={FourOhFourPage} />
{/* Route not found. Mostly for people typing crazy urls into the url */}
<Route render={() => <Redirect to="/" />} />
</Switch> </Switch>
); );
} }