Skip to content

Commit af70b25

Browse files
chore(web): code-smell
1 parent b734465 commit af70b25

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

web/src/pages/Profile/JurorInfo/JurorRewards.tsx

+8-10
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,14 @@ const JurorRewards: React.FC<IJurorRewards> = ({ addressToQuery }) => {
3838
const formattedRewards = getFormattedRewards(data, pricesData);
3939

4040
return (
41-
<>
42-
<Container>
43-
<WithHelpTooltip place="bottom" {...{ tooltipMsg }}>
44-
<label> Juror Rewards </label>
45-
</WithHelpTooltip>
46-
{formattedRewards.map(({ token, amount, value }) => (
47-
<TokenRewards key={token} {...{ token }} amount={amount} value={value} />
48-
))}
49-
</Container>
50-
</>
41+
<Container>
42+
<WithHelpTooltip place="bottom" {...{ tooltipMsg }}>
43+
<label> Juror Rewards </label>
44+
</WithHelpTooltip>
45+
{formattedRewards.map(({ token, amount, value }) => (
46+
<TokenRewards key={token} {...{ token }} amount={amount} value={value} />
47+
))}
48+
</Container>
5149
);
5250
};
5351

0 commit comments

Comments
 (0)