Skip to content

Commit c9fbae7

Browse files
committed
fix: code smell
1 parent 16bcb19 commit c9fbae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const VotingHistory: React.FC<{ arbitrable?: string }> = ({ arbitrable }) => {
108108
items={
109109
localRounds.at(currentTab)?.votes.map((vote) => ({
110110
title: shortenAddress(vote.juror.id),
111-
Icon: () => <Jazzicon diameter={24} seed={jsNumberForAddress(vote.juror.id)} />,
111+
Icon: <Jazzicon diameter={24} seed={jsNumberForAddress(vote.juror.id)} />,
112112
body: (
113113
<AccordionContent
114114
choice={vote.choice === 0 ? "Refuse to arbitrate" : disputeTemplate.answers[vote.choice - 1].title}

0 commit comments

Comments
 (0)