From 3c486bc6ccacf486ee3e9536b1104f477504277e Mon Sep 17 00:00:00 2001 From: storywithoutend Date: Fri, 8 Nov 2024 17:54:37 +0800 Subject: [PATCH] fix disabling invalid names --- src/components/@molecules/NameListView/NameListView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/@molecules/NameListView/NameListView.tsx b/src/components/@molecules/NameListView/NameListView.tsx index a602c8cc7..553686d2e 100644 --- a/src/components/@molecules/NameListView/NameListView.tsx +++ b/src/components/@molecules/NameListView/NameListView.tsx @@ -150,7 +150,7 @@ export const NameListView = ({ address, selfAddress, setError, setLoading }: Nam }, [stage]) const isNameExtendable = (name: Name) => - name.parentName === 'eth' && !!name.labelName && !name.labelName.includes('Invalid ENS Name') + name.parentName === 'eth' && !!name.name && !name.name.includes('Invalid ENS Name') const isNameDisabled = useCallback( (name: Name) => {