add message to notification pop up when redeeming mngo

This commit is contained in:
Tyler Shipe 2021-08-07 18:18:46 -04:00
parent 5c9918a6d6
commit 68e7c4aa26
2 changed files with 8 additions and 2 deletions

View File

@ -17,7 +17,7 @@ const NotificationList = () => {
setNotificationStore((state) => {
state.notifications = notifications.slice(1, notifications.length)
})
}, 5000)
}, 6000)
return () => {
clearInterval(id)

View File

@ -371,7 +371,13 @@ const useWalletStore = create<WalletStore>((set, get) => ({
)
)
await sendTransaction({ transaction, wallet, connection })
await sendTransaction({
transaction,
wallet,
connection,
sendingMessage: 'Sending redeem MNGO transaction...',
successMessage: 'MNGO redeemed successfully!',
})
await Promise.all([
actions.fetchPool(),