fix for electron to redirect to channels following page

This commit is contained in:
Sean Yesmunt 2020-01-14 14:07:59 -05:00
parent 0872d95a3b
commit 671f36e819

View file

@ -74,7 +74,7 @@ function AppRouter(props: Props) {
return ( return (
<Switch> <Switch>
<Route path={`/`} exact component={ChannelsFollowingPage} /> <Route path={`/`} exact component={() => <Redirect to={`/$/${PAGES.CHANNELS_FOLLOWING}`} />} />
<Route path={`/$/${PAGES.DISCOVER}`} exact component={DiscoverPage} /> <Route path={`/$/${PAGES.DISCOVER}`} exact component={DiscoverPage} />
<Route path={`/$/${PAGES.AUTH}`} exact component={SignInPage} /> <Route path={`/$/${PAGES.AUTH}`} exact component={SignInPage} />
<Route path={`/$/${PAGES.TAGS}`} exact component={TagsPage} /> <Route path={`/$/${PAGES.TAGS}`} exact component={TagsPage} />