File tree 1 file changed +8
-12
lines changed
web/src/pages/Dashboard/JurorInfo
1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
2
import styled from "styled-components" ;
3
3
4
- import { useAccount } from "wagmi" ;
5
-
6
4
import { CoinIds } from "consts/coingecko" ;
7
5
import { useCoinPrice } from "hooks/useCoinPrice" ;
8
6
import { getFormattedRewards } from "utils/jurorRewardConfig" ;
@@ -38,16 +36,14 @@ const JurorRewards: React.FC<IJurorRewards> = ({ addressToQuery }) => {
38
36
const formattedRewards = getFormattedRewards ( data , pricesData ) ;
39
37
40
38
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 >
51
47
) ;
52
48
} ;
53
49
You can’t perform that action at this time.
0 commit comments