Update minter instantiation error toast durations as 10s
This commit is contained in:
parent
dc2e0c421e
commit
5d888dd8d6
@ -214,7 +214,7 @@ const CollectionCreationPage: NextPage = () => {
|
|||||||
setCreatingCollection(false)
|
setCreatingCollection(false)
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
toast.error(error.message, { style: { maxWidth: 'none' } })
|
toast.error(error.message, { style: { maxWidth: 'none' }, duration: 10000 })
|
||||||
setCreatingCollection(false)
|
setCreatingCollection(false)
|
||||||
setUploading(false)
|
setUploading(false)
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@ const CollectionCreationPage: NextPage = () => {
|
|||||||
setCreatingCollection(false)
|
setCreatingCollection(false)
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
toast.error(error.message, { style: { maxWidth: 'none' } })
|
toast.error(error.message, { style: { maxWidth: 'none' }, duration: 10000 })
|
||||||
setCreatingCollection(false)
|
setCreatingCollection(false)
|
||||||
setUploading(false)
|
setUploading(false)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user