Add empty collection address warning - 2

This commit is contained in:
Serkan Reis 2024-01-24 12:39:14 +03:00
parent 2a293f1a62
commit e219566cd2

View File

@ -101,7 +101,7 @@ const Holders: NextPage = () => {
className="px-4 py-2 font-bold text-white bg-stargaze rounded-md"
isLoading={isLoading}
onClick={() => {
if (collectionAddress.length === 0) {
if (collectionAddressState.value.length === 0) {
toast.error('Please select a collection or enter a valid collection address.', {
style: { maxWidth: 'none' },
})