Merge pull request #343 from public-awesome/update-collection-info-update

Add update collection info disclaimer
This commit is contained in:
Serkan Reis 2024-02-20 22:06:04 +02:00 committed by GitHub
commit 103921d946
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,7 @@
import { toUtf8 } from '@cosmjs/encoding'
import clsx from 'clsx'
import { AirdropUpload } from 'components/AirdropUpload'
import { Alert } from 'components/Alert'
import { Button } from 'components/Button'
import type { DispatchExecuteArgs } from 'components/collections/actions/actions'
import { dispatchExecute, isEitherType, previewExecutePayload } from 'components/collections/actions/actions'
@ -664,6 +665,11 @@ export const CollectionActions = ({
</div>
</Tooltip>
</Conditional>
<Conditional test={type === 'update_collection_info'}>
<Alert className="mt-2 text-sm" type="info">
Please note that you are only required to fill in the fields you want to update.
</Alert>
</Conditional>
</div>
<div className="-mt-6">
<div className="relative mb-2">