Skip to content

Commit

Permalink
chore: reload page
Browse files Browse the repository at this point in the history
  • Loading branch information
camewell071 committed Sep 5, 2024
1 parent 5dbe66c commit eaca51f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit eaca51f

Please sign in to comment.