diff --git a/frontend/app/src/components/form/bounty/index.tsx b/frontend/app/src/components/form/bounty/index.tsx index ea3a77c2a..4c1238467 100644 --- a/frontend/app/src/components/form/bounty/index.tsx +++ b/frontend/app/src/components/form/bounty/index.tsx @@ -225,10 +225,11 @@ function Form(props: FormProps) { ); const onClickHandler = () => { if (!isOnline) { - toast.error("Bounty creation failed. Please try again.",{ - closeOnClick: true,toastId:"xa12" + toast.error('Bounty creation failed. Please try again.', { + closeOnClick: true, + toastId: 'xa12' }); - return; + return; } // Your existing logic for handling the button click @@ -616,7 +617,10 @@ function Form(props: FormProps) { {schemaData.step === 5 ? 'Decide Later' : 'Next'} ) : ( - <>Finish + <> + Finish + + )} )}