Skip to content

Commit c6bf251

Browse files
committed
refactor: rename execute function import for clarity in dataset address route
1 parent b4e4ccd commit c6bf251

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/$chainSlug/_layout/dataset/$datasetAddress.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { TABLE_LENGTH, TABLE_REFETCH_INTERVAL } from '@/config';
2-
import { execute as dataprotectorExecute } from '@/graphql/dataprotector/execute';
2+
import { execute as executeDp } from '@/graphql/dataprotector/execute';
33
import { execute } from '@/graphql/poco/execute';
44
import { useQuery } from '@tanstack/react-query';
55
import {
@@ -66,7 +66,7 @@ function useDatasetData(datasetAddress: string, chainId: number) {
6666
queryKey: schemaQueryKey,
6767
enabled: !!chainId && !!datasetAddress,
6868
queryFn: async () => {
69-
const result = await dataprotectorExecute(datasetSchemaQuery, chainId!, {
69+
const result = await executeDp(datasetSchemaQuery, chainId!, {
7070
datasetAddress,
7171
});
7272
return result;

0 commit comments

Comments
 (0)