@@ -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 { responsiveSize } from "styles/responsiveSize" ;
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: 4px 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 `
@@ -98,7 +102,7 @@ const FinalDecision: React.FC<IFinalDecision> = ({ arbitrable }) => {
98
102
if ( isVotingPeriod && isHiddenVotes && commited && ! hasVoted ) return "Reveal your vote" ;
99
103
if ( isVotingPeriod && ! isHiddenVotes && ! hasVoted ) return "Cast your vote" ;
100
104
return "Check how the jury voted" ;
101
- } , [ wasDrawn , hasVoted , isCommitPeriod , isVotingPeriod , commited , isHiddenVotes ] ) ;
105
+ } , [ wasDrawn , hasVoted , isCommitPeriod , isVotingPeriod , commited , isHiddenVotes , isDisconnected ] ) ;
102
106
103
107
return (
104
108
< Container >
0 commit comments