Skip to content

Commit

Permalink
refs #1018 Change reaction button if it is me
Browse files Browse the repository at this point in the history
  • Loading branch information
h3poteto committed Sep 27, 2023
1 parent bc1baf3 commit ac79c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/timelines/status/Status.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const Status: React.FC<Props> = props => {
)}
{status.emoji_reactions &&
status.emoji_reactions.map(e => (
<Button appearance="subtle" size="sm" key={e.name} onClick={() => emojiClicked(e)}>
<Button appearance="subtle" size="sm" key={e.name} onClick={() => emojiClicked(e)} active={e.me}>
{e.url ? (
<>
<img src={e.url} style={{ height: '20px' }} /> <span style={{ marginLeft: '0.2em' }}>{e.count}</span>
Expand Down

0 comments on commit ac79c42

Please sign in to comment.