Update minter instantiation error toast durations as 10s

This commit is contained in:
Serkan Reis 2023-02-04 11:10:06 +03:00
parent dc2e0c421e
commit 5d888dd8d6

View File

@ -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)
} }