Comparing version 0.0.6 to 0.0.7
@@ -11,3 +11,3 @@ import { useState, useEffect } from 'react'; | ||
useEffect(() => { | ||
if (provider && domain && data.address !== null) { | ||
if (provider && domain && data.owner == null) { | ||
if (chainId) { | ||
@@ -14,0 +14,0 @@ if (contractAddress || chainId === 1) { |
{ | ||
"name": "use-ens", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "A React hook to fetch ENS records from a domain.", | ||
@@ -5,0 +5,0 @@ "files": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3383