File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed
web/src/pages/Dashboard/JurorInfo Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change 11import React from "react" ;
22import styled from "styled-components" ;
33
4- import { useAccount } from "wagmi" ;
5-
64import { CoinIds } from "consts/coingecko" ;
75import { useCoinPrice } from "hooks/useCoinPrice" ;
86import { getFormattedRewards } from "utils/jurorRewardConfig" ;
@@ -38,16 +36,14 @@ const JurorRewards: React.FC<IJurorRewards> = ({ addressToQuery }) => {
3836 const formattedRewards = getFormattedRewards ( data , pricesData ) ;
3937
4038 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- </ >
39+ < Container >
40+ < WithHelpTooltip place = "bottom" { ...{ tooltipMsg } } >
41+ < label > Juror Rewards </ label >
42+ </ WithHelpTooltip >
43+ { formattedRewards . map ( ( { token, amount, value } ) => (
44+ < TokenRewards key = { token } { ...{ token } } amount = { amount } value = { value } />
45+ ) ) }
46+ </ Container >
5147 ) ;
5248} ;
5349
You can’t perform that action at this time.
0 commit comments