Skip to content

Commit

Permalink
Fix explorer redirect link in send name flow (#1040)
Browse files Browse the repository at this point in the history
  • Loading branch information
omkarb authored Oct 4, 2024
1 parent 77d33eb commit 3d1e8dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/web/src/components/SearchAddressInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import Input from 'apps/web/src/components/Input';
import useBaseEnsName from 'apps/web/src/hooks/useBaseEnsName';
import { Address, isAddress } from 'viem';
import { useEnsAddress } from 'wagmi';
import { BaseName } from '@coinbase/onchainkit/identity';
import { isBasename, isEnsName } from 'apps/web/src/utils/usernames';
import { USERNAME_L2_RESOLVER_ADDRESSES } from 'apps/web/src/addresses/usernames';
import useBasenameChain from 'apps/web/src/hooks/useBasenameChain';
Expand Down Expand Up @@ -31,7 +30,7 @@ export default function SearchAddressInput({ onChange }: SearchAddressInputProps
/* 2. User enters an Basename */
const validBasename = isBasename(value);

const { basenameChain } = useBasenameChain(value as BaseName);
const { basenameChain } = useBasenameChain();

const { data: basenameAddress, isLoading: basenameAddressIsLoading } = useEnsAddress({
name: value,
Expand Down

0 comments on commit 3d1e8dd

Please sign in to comment.