fix ?discover navigation

open.lbry.com/?discover would fail
This commit is contained in:
Thomas Zarebczan 2019-05-31 11:05:02 -04:00 committed by GitHub
parent 583f39edb1
commit a854fa38c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,7 @@ export default function AppRouter() {
<Scroll>
<Switch>
<Route path="/" exact component={DiscoverPage} />
<Route path={`/$/${PAGES.DISCOVER}`} exact component={DiscoverPage} />
<Route path={`/$/${PAGES.AUTH}`} exact component={AuthPage} />
<Route path={`/$/${PAGES.INVITE}`} exact component={InvitePage} />
<Route path={`/$/${PAGES.DOWNLOADED}`} exact component={FileListDownloaded} />