From ff1cd914d541f920dc944a1300058b58aac66ede Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Sun, 1 Sep 2024 19:05:06 +0300 Subject: [PATCH] fix import --- src/pages/Permissions/Permissions.tsx | 3 ++- src/services/eas/query.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/Permissions/Permissions.tsx b/src/pages/Permissions/Permissions.tsx index 9063507..46d57ab 100644 --- a/src/pages/Permissions/Permissions.tsx +++ b/src/pages/Permissions/Permissions.tsx @@ -24,7 +24,8 @@ import CustomTable, { AccessData, Platform, } from '../../components/shared/CustomTable'; -import { decodeAttestationData, IAttestation } from '../../libs/oci'; +import { IAttestation } from '../../interfaces'; +import { decodeAttestationData } from '../../libs/oci'; import { useGetAttestations } from '../../services/eas/query'; import useSnackbarStore from '../../store/useSnackbarStore'; import sepoliaChainAppConctract from '../../utils/contracts/app/sepoliaChain.json'; diff --git a/src/services/eas/query.ts b/src/services/eas/query.ts index ef60b8d..0d3759f 100644 --- a/src/services/eas/query.ts +++ b/src/services/eas/query.ts @@ -2,7 +2,7 @@ import { useQuery } from '@tanstack/react-query'; import { gql } from 'graphql-request'; import { Address } from 'viem'; -import { IAttestation } from '../../libs/oci'; +import { IAttestation } from '../../interfaces'; import { EAS_SCHEMA_ID } from '../../utils/contracts/eas/constants'; import { ATTESTER_ADDRESS, graphQLClient } from '.';