Skip to content

Commit

Permalink
add await (resolve no redirect)
Browse files Browse the repository at this point in the history
  • Loading branch information
rustyjux committed Aug 13, 2024
1 parent ee3d833 commit 6e1c3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nextapp/pages/manager/gateways/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const MyGatewaysPage: React.FC = () => {
status: 'success',
isClosable: true,
});
router.push('/manager/gateways/detail');
await router.push('/manager/gateways/detail');
} catch (err) {
toast.closeAll();
toast({
Expand Down

0 comments on commit 6e1c3f5

Please sign in to comment.