@@ -7,9 +7,9 @@ import { useAccount } from "wagmi";
77
88import ArrowIcon from "svgs/icons/arrow.svg" ;
99
10+ import { DEFAULT_CHAIN } from "consts/chains" ;
1011import { REFETCH_INTERVAL } from "consts/index" ;
1112import { Periods } from "consts/periods" ;
12- import { DEFAULT_CHAIN } from "consts/chains" ;
1313import { useReadKlerosCoreCurrentRuling } from "hooks/contracts/generated" ;
1414import { usePopulatedDisputeData } from "hooks/queries/usePopulatedDisputeData" ;
1515import { useVotingHistory } from "hooks/queries/useVotingHistory" ;
@@ -21,11 +21,12 @@ import { useDisputeDetailsQuery } from "queries/useDisputeDetailsQuery";
2121
2222import { landscapeStyle } from "styles/landscapeStyle" ;
2323
24- import RulingAndRewardsIndicators from "./RulingAndRewardsIndicators" ;
25- import AnswerDisplay from "./Answer" ;
2624import { Divider } from "../Divider" ;
2725import { StyledArrowLink } from "../StyledArrowLink" ;
2826
27+ import AnswerDisplay from "./Answer" ;
28+ import RulingAndRewardsIndicators from "./RulingAndRewardsIndicators" ;
29+
2930const Container = styled . div `
3031 width : 100% ;
3132` ;
@@ -36,11 +37,14 @@ const JuryContainer = styled.div`
3637 flex-wrap : wrap;
3738 align-items : center;
3839 gap : 5px 7px ;
39-
40+ flex : 1 ;
4041 h3 {
4142 line-height : 21px ;
4243 margin-bottom : 0px ;
4344 }
45+ > div {
46+ flex : 1 ;
47+ }
4448` ;
4549
4650const VerdictContainer = styled . div `
@@ -104,7 +108,7 @@ const FinalDecision: React.FC<IFinalDecision> = ({ arbitrable }) => {
104108 if ( isVotingPeriod && isHiddenVotes && commited && ! hasVoted ) return "Reveal your vote" ;
105109 if ( isVotingPeriod && ! isHiddenVotes && ! hasVoted ) return "Cast your vote" ;
106110 return "Check how the jury voted" ;
107- } , [ wasDrawn , hasVoted , isCommitPeriod , isVotingPeriod , commited , isHiddenVotes ] ) ;
111+ } , [ wasDrawn , hasVoted , isCommitPeriod , isVotingPeriod , commited , isHiddenVotes , isDisconnected ] ) ;
108112
109113 return (
110114 < Container >
0 commit comments