diff --git a/packages/extension-koni-ui/src/components/Mint/MintNftDetail/index.tsx b/packages/extension-koni-ui/src/components/Mint/MintNftDetail/index.tsx index 4a9c730af0..3a1e00d286 100644 --- a/packages/extension-koni-ui/src/components/Mint/MintNftDetail/index.tsx +++ b/packages/extension-koni-ui/src/components/Mint/MintNftDetail/index.tsx @@ -334,6 +334,8 @@ const Component: React.FC = (props: Props) => { return; } + setIsLoading(true); // Hot fix minting loading problems + const transaction = await odysseyMintNft({ address, chain: 'storyOdyssey_testnet', signature }); // account has insufficient balance @@ -479,11 +481,13 @@ const Component: React.FC = (props: Props) => { if (mintingLog?.status === 'success') { onSuccess(mintingLog.address); setIsLoading(false); - } else if (mintingLog?.status === 'submitted' || mintingLog?.status === 'minting') { + } else if (mintingLog?.status === 'minting') { + mintingFlag.current = true; + } else if (mintingLog?.status === 'submitted') { mintingFlag.current = true; setIsLoading(true); } else if (mintingLog?.status === 'failed') { - setIsLoading(false); + mintingFlag.current && setIsLoading(false); mintingFlag.current && handleFailedToMintModal().then(goHome).catch(console.error); } }, [goHome, handleFailedToMintModal, mintingLog, onSuccess]); diff --git a/packages/extension-koni-ui/src/connector/booka/sdk.ts b/packages/extension-koni-ui/src/connector/booka/sdk.ts index 6cbbfc5c16..ce43efd1b6 100644 --- a/packages/extension-koni-ui/src/connector/booka/sdk.ts +++ b/packages/extension-koni-ui/src/connector/booka/sdk.ts @@ -994,7 +994,7 @@ export class BookaSdk { // method: string; // raffle_count: number; start: getUCTPlus7('2024-12-02 07:00'), - end: getUCTPlus7('2024-12-07 10:00'), + end: getUCTPlus7('2024-12-09 10:00'), conditionDescription: '', share: { url_share: 'https://x.koni.studio/mint-badge',