Returns avatar link for the ens
import { useEnsAvatar } from '@nazeeh2000/comp-kit'
const Comp = () => {
const { avatar } = useEnsAvatar({
ensName: 'wagmi-dev.eth'
});
return (
// Your component
)
}
const { avatar, fetching, error } = useEnsAvatar({
ensName: 'wagmi-dev.eth',
});