fix following page (#7410)

This commit is contained in:
jessopb 2022-01-07 22:56:36 -05:00 committed by GitHub
parent 3450d76295
commit ebe253f814
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -245,12 +245,7 @@ function AppRouter(props: Props) {
<Route {...props} path={`/$/${PAGES.LIST}/:collectionId`} component={CollectionPage} />
<PrivateRoute {...props} exact path={`/$/${PAGES.TAGS_FOLLOWING}`} component={TagsFollowingPage} />
<PrivateRoute
{...props}
exact
path={`/$/${PAGES.CHANNELS_FOLLOWING}`}
component={isAuthenticated ? ChannelsFollowingPage : DiscoverPage}
/>
<PrivateRoute {...props} exact path={`/$/${PAGES.CHANNELS_FOLLOWING}`} component={ChannelsFollowingPage} />
<PrivateRoute {...props} path={`/$/${PAGES.SETTINGS_NOTIFICATIONS}`} component={SettingsNotificationsPage} />
<PrivateRoute {...props} path={`/$/${PAGES.SETTINGS_UPDATE_PWD}`} component={UpdatePasswordPage} />
<PrivateRoute