From 954b34285578aad2692295c930aa414f3ca018df Mon Sep 17 00:00:00 2001 From: JayJay1024 Date: Wed, 19 Jan 2022 18:09:05 +0800 Subject: [PATCH] fix: claim fail notice --- src/component/ClaimAirdrop/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/component/ClaimAirdrop/index.tsx b/src/component/ClaimAirdrop/index.tsx index 87bfa41b..4de97b6c 100644 --- a/src/component/ClaimAirdrop/index.tsx +++ b/src/component/ClaimAirdrop/index.tsx @@ -107,11 +107,12 @@ const ClaimAirdrop: React.FC = ({ className }) => { description: data?.message, }); } - } else {} + } else { notification.error({ message: 'Woops, something went wrong', description: err.message, }); + } }) .finally(() => { setVisibleLoadingModal(false);