add message to notification pop up when redeeming mngo
This commit is contained in:
parent
5c9918a6d6
commit
68e7c4aa26
|
@ -17,7 +17,7 @@ const NotificationList = () => {
|
|||
setNotificationStore((state) => {
|
||||
state.notifications = notifications.slice(1, notifications.length)
|
||||
})
|
||||
}, 5000)
|
||||
}, 6000)
|
||||
|
||||
return () => {
|
||||
clearInterval(id)
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue