diff --git a/components/01-atoms/SearchBar.tsx b/components/01-atoms/SearchBar.tsx index aa5b2b6d..6696ba47 100644 --- a/components/01-atoms/SearchBar.tsx +++ b/components/01-atoms/SearchBar.tsx @@ -75,7 +75,7 @@ export const SearchBar = () => { const formattedAddress = normalizeENSName(inputAddress); try { - const address: unknown = await ens.getOwner(formattedAddress); + const address: unknown = await ens.getAddress(formattedAddress); if (typeof address !== "string") { toast.error( "Wrong type of address returned by provider. Please contact the team",