Skip to content

Commit

Permalink
fix: fix incorrect icon
Browse files Browse the repository at this point in the history
refs:
- 2024-05-dev-1#RB-004
  • Loading branch information
robertu7 committed May 3, 2024
1 parent 717be57 commit a45679c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/BlockUser/Button/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { FormattedMessage } from 'react-intl'

import { ReactComponent as IconMute } from '@/public/static/icons/24px/mute.svg'
import { ReactComponent as IconCircleSlash } from '@/public/static/icons/24px/circle-slash.svg'
import { Icon, Menu, toast, useMutation } from '~/components'
import TOGGLE_BLOCK_USER from '~/components/GQL/mutations/toggleBlockUser'
import {
Expand Down Expand Up @@ -53,7 +53,7 @@ const BlockUserButton = ({
description="src/components/BlockUser/Button/index.tsx"
/>
}
icon={<Icon icon={IconMute} size={20} />}
icon={<Icon icon={IconCircleSlash} size={20} />}
onClick={onUnblock}
/>
)
Expand All @@ -66,7 +66,7 @@ const BlockUserButton = ({
textColor="greyDarker"
textActiveColor="black"
text={<FormattedMessage defaultMessage="Block User" id="vAc1Bw" />}
icon={<Icon icon={IconMute} size={20} />}
icon={<Icon icon={IconCircleSlash} size={20} />}
/>
)
}
Expand Down

0 comments on commit a45679c

Please sign in to comment.