Skip to content

Commit

Permalink
fix: next step dialog trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Rickk137 committed Sep 28, 2023
1 parent cbce2d9 commit 965978d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ export const AddStakeRenderer: FC<AddStakeRendererProps> = ({

return (
<div className="flex md:flex-row items-center gap-4 flex-col-reverse">
<NextStepDialog isOpen={isNextStepOpen} onConfirm={onConfirm} />
<NextStepDialog
isOpen={isNextStepOpen && !openCreateStakeDialog}
onConfirm={onConfirm}
/>
{hasStakedValue && (
<Button
style={ButtonStyle.ghost}
Expand Down

0 comments on commit 965978d

Please sign in to comment.