Make /search a non-public route

This commit is contained in:
Alex Gleason 2022-06-29 10:14:04 -05:00
parent 89e0eef60f
commit 2e3718e548
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -257,7 +257,7 @@ const SwitchingColumnsArea: React.FC = ({ children }) => {
<WrappedRoute path='/notifications' page={DefaultPage} component={Notifications} content={children} />
<WrappedRoute path='/search' publicRoute page={DefaultPage} component={Search} content={children} />
<WrappedRoute path='/search' page={DefaultPage} component={Search} content={children} />
{features.suggestions && <WrappedRoute path='/suggestions' publicRoute page={DefaultPage} component={FollowRecommendations} content={children} />}
{features.profileDirectory && <WrappedRoute path='/directory' publicRoute page={DefaultPage} component={Directory} content={children} />}