Updated News links in feature
• Updated: - News links in feature
This commit is contained in:
parent
89def69904
commit
aba1b917d5
@ -116,14 +116,14 @@ class News extends PureComponent {
|
|||||||
const domains = items.trackedDomains
|
const domains = items.trackedDomains
|
||||||
domainTabs = domains.map((block) => ({
|
domainTabs = domains.map((block) => ({
|
||||||
title: block.title,
|
title: block.title,
|
||||||
to: `/explore?domain=${block.domain}`,
|
to: `/news?domain=${block.domain}`,
|
||||||
onClick: () => {},
|
onClick: () => {},
|
||||||
active: activeDomain === `${block.domain}`.toLowerCase(),
|
active: activeDomain === `${block.domain}`.toLowerCase(),
|
||||||
}))
|
}))
|
||||||
domainTabs = [
|
domainTabs = [
|
||||||
{
|
{
|
||||||
title: "Today's Top",
|
title: "Today's Top",
|
||||||
to: `/explore`,
|
to: `/news`,
|
||||||
onClick: () => {},
|
onClick: () => {},
|
||||||
active: !activeDomain,
|
active: !activeDomain,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user