Skip to content

Commit 6ea0c2c

Browse files
committed
prevent from build error
1 parent 6047352 commit 6ea0c2c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/hooks/ensjs/public/useRecords.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// eslint-disable @typescript-eslint/no-unused-vars
2+
13
import {
24
PlaceholderDataFunction,
35
Query,
@@ -91,7 +93,9 @@ export const getRecordsQueryFn =
9193
// NOTE: This will still fail the onchain test because we will not be able to get the eth record from the subgraph
9294
return null
9395
const client = config.getClient({ chainId })
96+
9497
const res = await getRecords(client, {
98+
// @ts-ignore
9599
name,
96100
...params,
97101
})

0 commit comments

Comments
 (0)