Condense category names to just the tag name
This commit is contained in:
parent
49f900b298
commit
31f57f8ff2
|
@ -2,11 +2,11 @@ export const CATEGORIES = {
|
|||
politics: 'Politics',
|
||||
technology: 'Technology',
|
||||
sports: 'Sports',
|
||||
gaming: 'Gaming / Esports',
|
||||
manifold: 'Manifold Markets',
|
||||
gaming: 'Gaming',
|
||||
manifold: 'Manifold',
|
||||
science: 'Science',
|
||||
world: 'World',
|
||||
fun: 'Fun stuff',
|
||||
fun: 'Fun',
|
||||
personal: 'Personal',
|
||||
economics: 'Economics',
|
||||
crypto: 'Crypto',
|
||||
|
|
|
@ -8,7 +8,6 @@ import { SiteLink } from './site-link'
|
|||
function Hashtag(props: { tag: string; noLink?: boolean }) {
|
||||
const { tag, noLink } = props
|
||||
const category = CATEGORIES[tag.replace('#', '').toLowerCase()]
|
||||
console.log(tag, category)
|
||||
|
||||
const body = (
|
||||
<div
|
||||
|
|
Loading…
Reference in New Issue
Block a user