Skip to content

Commit 7a251fe

Browse files
added extra notes in useGetRecords about _importName failures
1 parent 9e0ca84 commit 7a251fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hooks/ensjs/public/useRecords.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ export const getRecordsQueryFn =
8787
if (!name) throw new Error('name is required')
8888

8989
// TODO: Check the return value from getRecords from ponder to see if it's consistent with subgraph for when a name has no records or doesn't not exist
90+
// The _importName tests are failing because an error is thrown and the error modal is blocking the ui from continuing
91+
// NOTE: This will still fail the onchain test because we will not be able to get the eth record from the subgraph
9092
return null
9193
const client = config.getClient({ chainId })
9294
const res = await getRecords(client, {

0 commit comments

Comments
 (0)