Skip to content

Commit

Permalink
refactor: use classnames
Browse files Browse the repository at this point in the history
  • Loading branch information
andyesp committed Oct 25, 2023
1 parent 3b9fdfa commit e6ff001
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ const ProposalPreviewCard = ({ proposal, votes, variant }: Props) => {
{showVotedChoice && (
<span
title={userChoice.toUpperCase()}
className="ProposalPreviewCard__DetailsItem ProposalPreviewCard__DetailsItemVotedChoice"
className={classNames(
'ProposalPreviewCard__DetailsItem',
'ProposalPreviewCard__DetailsItemVotedChoice'
)}
>
{t('page.proposal_detail.your_vote_label')}
<span className="ProposalPreviewCard__Vote">{userChoice}</span>
Expand Down

0 comments on commit e6ff001

Please sign in to comment.