Skip to content

Commit

Permalink
fix:fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
TiyoSheng committed Oct 30, 2023
1 parent c9deee3 commit a53e1ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/client/src/pages/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ const Home = () => {
const head = Duck.Head[~~(Math.random() * Duck.Head.length)];

setMinting(true);
message.loading('minting loot and user,please wait...');
await mintUser();
await mintLoot()

Expand Down Expand Up @@ -288,6 +289,9 @@ const Home = () => {
<button className="mi-btn" onClick={mintAndGo} disabled={minting}>
{minting ? 'Loading...' : 'MINT AND GO'}
</button>
{
minting ? <div style={{textAlign: 'center', fontSize: '12px'}}>The minting process may take up to several tens of seconds</div> : null
}
</div>
</div>
)
Expand Down

0 comments on commit a53e1ce

Please sign in to comment.