@@ -7,9 +7,9 @@ import { useAccount } from "wagmi";
7
7
8
8
import ArrowIcon from "svgs/icons/arrow.svg" ;
9
9
10
+ import { DEFAULT_CHAIN } from "consts/chains" ;
10
11
import { REFETCH_INTERVAL } from "consts/index" ;
11
12
import { Periods } from "consts/periods" ;
12
- import { DEFAULT_CHAIN } from "consts/chains" ;
13
13
import { useReadKlerosCoreCurrentRuling } from "hooks/contracts/generated" ;
14
14
import { usePopulatedDisputeData } from "hooks/queries/usePopulatedDisputeData" ;
15
15
import { useVotingHistory } from "hooks/queries/useVotingHistory" ;
@@ -21,11 +21,12 @@ import { useDisputeDetailsQuery } from "queries/useDisputeDetailsQuery";
21
21
22
22
import { landscapeStyle } from "styles/landscapeStyle" ;
23
23
24
- import RulingAndRewardsIndicators from "./RulingAndRewardsIndicators" ;
25
- import AnswerDisplay from "./Answer" ;
26
24
import { Divider } from "../Divider" ;
27
25
import { StyledArrowLink } from "../StyledArrowLink" ;
28
26
27
+ import AnswerDisplay from "./Answer" ;
28
+ import RulingAndRewardsIndicators from "./RulingAndRewardsIndicators" ;
29
+
29
30
const Container = styled . div `
30
31
width : 100% ;
31
32
` ;
@@ -36,11 +37,14 @@ const JuryContainer = styled.div`
36
37
flex-wrap : wrap;
37
38
align-items : center;
38
39
gap : 5px 7px ;
39
-
40
+ flex : 1 ;
40
41
h3 {
41
42
line-height : 21px ;
42
43
margin-bottom : 0px ;
43
44
}
45
+ > div {
46
+ flex : 1 ;
47
+ }
44
48
` ;
45
49
46
50
const VerdictContainer = styled . div `
@@ -104,7 +108,7 @@ const FinalDecision: React.FC<IFinalDecision> = ({ arbitrable }) => {
104
108
if ( isVotingPeriod && isHiddenVotes && commited && ! hasVoted ) return "Reveal your vote" ;
105
109
if ( isVotingPeriod && ! isHiddenVotes && ! hasVoted ) return "Cast your vote" ;
106
110
return "Check how the jury voted" ;
107
- } , [ wasDrawn , hasVoted , isCommitPeriod , isVotingPeriod , commited , isHiddenVotes ] ) ;
111
+ } , [ wasDrawn , hasVoted , isCommitPeriod , isVotingPeriod , commited , isHiddenVotes , isDisconnected ] ) ;
108
112
109
113
return (
110
114
< Container >
0 commit comments