Updated News links in feature

• Updated:
- News links in feature
This commit is contained in:
mgabdev 2020-08-06 23:09:51 -05:00
parent 89def69904
commit aba1b917d5

View File

@ -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,
}, },