From 6e1c3f5c90ece01e36747f893a704a409a8d42fc Mon Sep 17 00:00:00 2001 From: Russell Vinegar Date: Tue, 13 Aug 2024 16:15:57 -0700 Subject: [PATCH] add await (resolve no redirect) --- src/nextapp/pages/manager/gateways/list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nextapp/pages/manager/gateways/list.tsx b/src/nextapp/pages/manager/gateways/list.tsx index 85a75baf4..051508c85 100644 --- a/src/nextapp/pages/manager/gateways/list.tsx +++ b/src/nextapp/pages/manager/gateways/list.tsx @@ -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({