From e219566cd2b14febfd7090f2da834ba5d9543e56 Mon Sep 17 00:00:00 2001 From: Serkan Reis Date: Wed, 24 Jan 2024 12:39:14 +0300 Subject: [PATCH] Add empty collection address warning - 2 --- pages/snapshots/holders.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/snapshots/holders.tsx b/pages/snapshots/holders.tsx index 3fecfe3..f011a16 100644 --- a/pages/snapshots/holders.tsx +++ b/pages/snapshots/holders.tsx @@ -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' }, })