Skip to content

Commit 85c0c76

Browse files
committed
fix: disable continue on api response error on file upload
1 parent 45f2a13 commit 85c0c76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

govtool/frontend/src/components/organisms/VoteContext/VoteContextGovTool.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const VoteContextGovTool = ({
6868
onCancel={() => {setStep(2)}}
6969
onContinue = {() => {setStep(5)}}
7070
useBackLabel
71-
isContinueDisabled={!apiResponse}
71+
isContinueDisabled={!apiResponse || isError}
7272
isVoteWithMetadata
7373
>
7474
<Typography sx={{ textAlign: "center" , fontSize : "28px" , fontWeight: 500 }} variant="h4">

0 commit comments

Comments
 (0)