Skip to content

Commit

Permalink
open sucess dialog on migration confirmed
Browse files Browse the repository at this point in the history
  • Loading branch information
yvesfracari committed Jun 18, 2024
1 parent a3e3a60 commit c32308d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/cow-amm-deployer/src/components/OldVersionOfAmmAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ export function OldVersionOfAMMAlert({ ammData }: { ammData: ICowAmm }) {
updateAmmId();
}, []);

useEffect(() => {
if (status === "final" || status === "confirmed") {
setAmmDialogOpen(true);
}
}, [status]);

return (
<>
<CreateSuccessDialog
Expand Down

0 comments on commit c32308d

Please sign in to comment.