Update whitelist configuration error message

This commit is contained in:
Serkan Reis 2022-10-06 16:55:54 +03:00
parent 49307afa9f
commit a325c07384

View File

@ -77,7 +77,7 @@ const CollectionCreationPage: NextPage = () => {
setReadyToCreate(true) setReadyToCreate(true)
}) })
.catch((err) => { .catch((err) => {
toast.error(`Invalid whitelist contract address: ${err.message}`) toast.error(`Error in Whitelist Configuration: ${err.message}`)
setReadyToCreate(false) setReadyToCreate(false)
}) })
} catch (error: any) { } catch (error: any) {
@ -500,7 +500,7 @@ const CollectionCreationPage: NextPage = () => {
{readyToCreate && <ConfirmationModal confirm={createCollection} />} {readyToCreate && <ConfirmationModal confirm={createCollection} />}
<div className="flex justify-end w-full"> <div className="flex justify-end w-full">
<Button <Button
className="relative justify-center px-4 mb-6 max-h-12 text-white bg-plumbus hover:bg-plumbus-light border-0" className="relative justify-center p-2 mb-6 max-h-12 text-white bg-plumbus hover:bg-plumbus-light border-0"
isLoading={creatingCollection} isLoading={creatingCollection}
onClick={performChecks} onClick={performChecks}
variant="solid" variant="solid"