Skip to content

Commit

Permalink
fix disabling invalid names
Browse files Browse the repository at this point in the history
  • Loading branch information
storywithoutend committed Nov 8, 2024
1 parent b5ac81d commit 3c486bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/@molecules/NameListView/NameListView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 3c486bc

Please sign in to comment.