Remove old redirect when route isn't found
This commit is contained in:
parent
9cd917bed5
commit
a7c6a002de
1 changed files with 0 additions and 4 deletions
|
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue