fix page names
This commit is contained in:
parent
8f7aea9844
commit
d2a87f164a
4 changed files with 5 additions and 6 deletions
|
@ -139,7 +139,7 @@ class WunderBar extends React.PureComponent<Props, State> {
|
|||
if (suggestion.type === SEARCH_TYPES.SEARCH) {
|
||||
onSearch(query);
|
||||
} else if (suggestion.type === SEARCH_TYPES.TAG) {
|
||||
history.push(`/$/${PAGES.TAGS}?t=${suggestion.value}`);
|
||||
history.push(`/$/${PAGES.DISCOVER}?t=${suggestion.value}`);
|
||||
} else if (isURIValid(query)) {
|
||||
const uri = normalizeURI(query);
|
||||
onSubmit(uri);
|
||||
|
|
|
@ -19,7 +19,6 @@ exports.SHOW = 'show';
|
|||
exports.ACCOUNT = 'account';
|
||||
exports.SEARCH = 'search';
|
||||
exports.TRANSACTIONS = 'transactions';
|
||||
exports.TAGS = 'tagsdsfsdfdsf';
|
||||
exports.TAGS_FOLLOWING = 'tags';
|
||||
exports.DEPRECATED__TAGS_FOLLOWING = 'following/tags';
|
||||
exports.TAGS_FOLLOWING_MANAGE = 'tags/manage';
|
||||
|
|
|
@ -61,7 +61,7 @@ function ChannelsFollowingDiscover(props: Props) {
|
|||
if (followedTags.length > 0 && followedTags.length < 5) {
|
||||
const followedRows = followedTags.map((tag: Tag) => ({
|
||||
title: `Trending Channels for #${toCapitalCase(tag.name)}`,
|
||||
link: `/$/${PAGES.TAGS}?t=${tag.name}&claim_type=channel`,
|
||||
link: `/$/${PAGES.DISCOVER}?t=${tag.name}&claim_type=channel`,
|
||||
options: {
|
||||
claimType: 'channel',
|
||||
pageSize: 4,
|
||||
|
|
|
@ -89,7 +89,7 @@ function HomePage(props: Props) {
|
|||
if (followedTags.length > 0 && followedTags.length < 5) {
|
||||
const followedRows = followedTags.map((tag: Tag) => ({
|
||||
title: `Trending for #${toCapitalCase(tag.name)}`,
|
||||
link: `/$/${PAGES.TAGS}?t=${tag.name}`,
|
||||
link: `/$/${PAGES.DISCOVER}?t=${tag.name}`,
|
||||
options: {
|
||||
pageSize: 4,
|
||||
tags: [tag.name],
|
||||
|
@ -128,7 +128,7 @@ function HomePage(props: Props) {
|
|||
},
|
||||
{
|
||||
title: '#HomePageCageMatch',
|
||||
link: `/$/${PAGES.TAGS}?t=homepagecagematch&type=top&time=all`,
|
||||
link: `/$/${PAGES.DISCOVER}?t=homepagecagematch&type=top&time=all`,
|
||||
help: (
|
||||
<div className="claim-grid__help">
|
||||
<Icon
|
||||
|
@ -156,7 +156,7 @@ function HomePage(props: Props) {
|
|||
if (!showAuthenticatedRows) {
|
||||
rowData.push({
|
||||
title: '#lbry',
|
||||
link: `/$/${PAGES.TAGS}?t=lbry&type=top&time=all`,
|
||||
link: `/$/${PAGES.DISCOVER}?t=lbry&type=top&time=all`,
|
||||
options: {
|
||||
tags: ['lbry'],
|
||||
orderBy: ['effective_amount'],
|
||||
|
|
Loading…
Reference in a new issue