Skip to content

Commit

Permalink
#650: Highlight button when subscribed
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Sep 2, 2022
1 parent 4c846ef commit 61fbb8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SubscriptionButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const SubscribeButton = (props) =>
</TooltipTrigger>}
{props.isSubscribed &&
<TooltipTrigger message={'Unsubscribe from ' + props.typeLabel}>
<Button className='submission-button' variant='secondary' aria-label={'Unsubscribe from ' + props.typeLabel} onClick={props.onSubscribe}><FontAwesomeIcon icon='bell-slash' /></Button>
<Button className='submission-button' variant='primary' aria-label={'Unsubscribe from ' + props.typeLabel} onClick={props.onSubscribe}><FontAwesomeIcon icon='bell-slash' /></Button>
</TooltipTrigger>}
</span>

Expand Down

0 comments on commit 61fbb8e

Please sign in to comment.