From eaca51f0cbf2306ddf7640b10fd79c2569994be7 Mon Sep 17 00:00:00 2001 From: camewell Date: Thu, 5 Sep 2024 14:55:41 +0700 Subject: [PATCH] chore: reload page --- .../blockchains/Buy/components3/LaunchButton/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/blockchains/Buy/components3/LaunchButton/index.tsx b/src/modules/blockchains/Buy/components3/LaunchButton/index.tsx index 8f0cf6b83..c2cf9fdfe 100644 --- a/src/modules/blockchains/Buy/components3/LaunchButton/index.tsx +++ b/src/modules/blockchains/Buy/components3/LaunchButton/index.tsx @@ -403,7 +403,6 @@ const LaunchButton = ({ isUpdate }: { isUpdate?: boolean }) => { if (result) { //Config Account Abstraction... configAccountAbstraction(dynamicForm); - let isConfigDapp = false; if (yoloGameForms && yoloGameForms.length > 0) { await onSubmitYoloGame({ forms: yoloGameForms, @@ -480,8 +479,9 @@ const LaunchButton = ({ isUpdate }: { isUpdate?: boolean }) => { if (isConfigDapp) { console.log('[LaunchButton] refresh dapp data'); setTimeout(() => { - dispatch(requestReload()); - setUpdated(true); + // dispatch(requestReload()); + // setUpdated(true); + window.location.reload(); }, 1000); } getOrderDetailByID(orderDetail.orderId);