kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Update path to "Explorer"
rodzic
754fa6e761
commit
6dd9050e6c
|
@ -162,7 +162,7 @@ const SidebarNavigation = () => {
|
|||
/>
|
||||
|
||||
<SidebarNavigationLink
|
||||
to='/search'
|
||||
to='/explorer'
|
||||
icon={rocketIcon}
|
||||
text={<FormattedMessage id='tabs_bar.search' defaultMessage='Explorer' />}
|
||||
/>
|
||||
|
|
|
@ -86,7 +86,7 @@ const ThumbNavigation: React.FC = (): JSX.Element => {
|
|||
<ThumbNavigationLink
|
||||
src={rocketIcon}
|
||||
text={<FormattedMessage id='navigation.search' defaultMessage='Explorer' />}
|
||||
to='/search'
|
||||
to='/explorer'
|
||||
exact
|
||||
/>
|
||||
|
||||
|
|
|
@ -259,7 +259,7 @@ const Header: React.FC<IHeader> = ({ account }) => {
|
|||
|
||||
const onSearch = () => {
|
||||
dispatch(setSearchAccount(account.id));
|
||||
history.push('/search');
|
||||
history.push('/explorer');
|
||||
};
|
||||
|
||||
const onAvatarClick = () => {
|
||||
|
|
|
@ -76,7 +76,7 @@ const SearchZapSplit = (props: ISearchZapSplit) => {
|
|||
dispatch(setSearchAccount(null));
|
||||
dispatch(submitSearch());
|
||||
|
||||
history.push('/search');
|
||||
history.push('/explorer');
|
||||
} else {
|
||||
dispatch(submitSearch());
|
||||
}
|
||||
|
|
|
@ -88,7 +88,7 @@ const Search = (props: ISearch) => {
|
|||
dispatch(setSearchAccount(null));
|
||||
dispatch(submitSearch());
|
||||
|
||||
history.push('/search');
|
||||
history.push('/explorer');
|
||||
} else {
|
||||
dispatch(submitSearch());
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ const TrendsPanel = ({ limit }: ITrendsPanel) => {
|
|||
<Widget
|
||||
title={<FormattedMessage id='trends.title' defaultMessage='Trends' />}
|
||||
action={
|
||||
<Link className='text-right' to='/search' onClick={setHashtagsFilter}>
|
||||
<Link className='text-right' to='/explorer' onClick={setHashtagsFilter}>
|
||||
<Text tag='span' theme='primary' size='sm' className='hover:underline'>
|
||||
{intl.formatMessage(messages.viewAll)}
|
||||
</Text>
|
||||
|
|
|
@ -261,7 +261,7 @@ const SwitchingColumnsArea: React.FC<ISwitchingColumnsArea> = ({ children }) =>
|
|||
|
||||
<WrappedRoute path='/notifications' page={DefaultPage} component={Notifications} content={children} />
|
||||
|
||||
<WrappedRoute path='/search' page={SearchPage} component={Search} content={children} publicRoute />
|
||||
<WrappedRoute path='/explorer' page={SearchPage} component={Search} content={children} publicRoute />
|
||||
{features.suggestionsLocal && <WrappedRoute path='/suggestions/local' publicRoute page={DefaultPage} component={FollowRecommendations} content={children} componentParams={{ local: true }} />}
|
||||
{features.suggestions && <WrappedRoute path='/suggestions' exact publicRoute page={DefaultPage} component={FollowRecommendations} content={children} />}
|
||||
{features.profileDirectory && <WrappedRoute path='/directory' exact publicRoute page={DefaultPage} component={Directory} content={children} />}
|
||||
|
|
Ładowanie…
Reference in New Issue