Skip to content

Commit

Permalink
[C-3718] Fix follow-artist metrics (#7305)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanjeffers authored Jan 24, 2024
1 parent 66bd8ab commit 3f55d5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { HTMLProps, useContext } from 'react'

import { Name, UserMetadata, WidthSizes } from '@audius/common'
import { Name, UserMetadata, WidthSizes, formatCount } from '@audius/common'
import {
Box,
Divider,
Expand Down Expand Up @@ -172,14 +172,14 @@ export const FollowArtistCard = (props: FollowArtistTileProps) => {
<Flex direction='row' gap='xs' alignItems='center'>
<IconNote width={16} height={16} color='subdued' />
<Text variant='body' size='s' strength='strong'>
{track_count}
{formatCount(track_count)}
</Text>
</Flex>
<Divider orientation='vertical' />
<Flex direction='row' gap='xs' alignItems='center'>
<IconUser width={16} height={16} color='subdued' />
<Text variant='body' size='s' strength='strong'>
{follower_count}
{formatCount(follower_count)}
</Text>
</Flex>
</Flex>
Expand Down

0 comments on commit 3f55d5d

Please sign in to comment.