update mints on mount to fix bug with redeemable amount showing as 0

This commit is contained in:
Tyler Shipe 2021-08-07 18:10:39 -04:00
parent b84781e576
commit 5c9918a6d6
1 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,10 @@ const RedeemModal = () => {
setSubmitting(true)
}
useEffect(() => {
actions.fetchMints()
}, [])
useEffect(() => {
setLoading(true)
if (largestAccounts.redeemable) {