Add empty collection address warning - 2
This commit is contained in:
parent
2a293f1a62
commit
e219566cd2
@ -101,7 +101,7 @@ const Holders: NextPage = () => {
|
|||||||
className="px-4 py-2 font-bold text-white bg-stargaze rounded-md"
|
className="px-4 py-2 font-bold text-white bg-stargaze rounded-md"
|
||||||
isLoading={isLoading}
|
isLoading={isLoading}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (collectionAddress.length === 0) {
|
if (collectionAddressState.value.length === 0) {
|
||||||
toast.error('Please select a collection or enter a valid collection address.', {
|
toast.error('Please select a collection or enter a valid collection address.', {
|
||||||
style: { maxWidth: 'none' },
|
style: { maxWidth: 'none' },
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user