Skip to content

Commit

Permalink
fix: used flat-secondary for reaction-button
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruminat committed Aug 19, 2024
1 parent 5e80065 commit 2439ec1
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/components/Reactions/Reactions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
PaletteProps,
Popover,
QAProps,
colorText,
} from '@gravity-ui/uikit';
import xor from 'lodash/xor';

Expand Down Expand Up @@ -161,13 +160,11 @@ export function Reactions({
className={b('reaction-button')}
size={size}
extraProps={{'aria-label': i18n('add-reaction')}}
view="flat"
view="flat-secondary"
>
<span className={colorText({color: 'secondary'})}>
<Button.Icon>
<Icon data={FaceSmile} size={buttonSizeToIconSize[size]} />
</Button.Icon>
</span>
<Button.Icon>
<Icon data={FaceSmile} size={buttonSizeToIconSize[size]} />
</Button.Icon>
</Button>
</Popover>
)}
Expand Down

0 comments on commit 2439ec1

Please sign in to comment.