Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
gouravmpk committed Jan 24, 2024
1 parent 814f0d3 commit f911b26
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions frontend/app/src/components/form/bounty/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -616,7 +617,10 @@ function Form(props: FormProps) {
{schemaData.step === 5 ? 'Decide Later' : 'Next'}
</EuiText>
) : (
<><EuiText className="nextText">Finish</EuiText><ToastContainer /></>
<>
<EuiText className="nextText">Finish</EuiText>
<ToastContainer />
</>
)}
</div>
)}
Expand Down

0 comments on commit f911b26

Please sign in to comment.