diff --git a/src/hooks/useIotInfo.ts b/src/hooks/useIotInfo.ts index dcc78fde5..4a605a942 100644 --- a/src/hooks/useIotInfo.ts +++ b/src/hooks/useIotInfo.ts @@ -1,5 +1,4 @@ import { IdlAccounts } from '@coral-xyz/anchor' -import { UseAccountState } from '@helium/account-fetch-cache-hooks' import { iotInfoKey, rewardableEntityConfigKey, @@ -15,9 +14,7 @@ export type IotHotspotInfoV0 = pubKey: PublicKey } -export const useIotInfo = ( - entityKey: string | undefined, -): UseAccountState | undefined => { +export const useIotInfo = (entityKey: string | undefined) => { const [iotConfigKey] = rewardableEntityConfigKey(IOT_SUB_DAO_KEY, 'IOT') const [iotInfo] = iotInfoKey(iotConfigKey, entityKey || '') diff --git a/src/hooks/useMobileInfo.ts b/src/hooks/useMobileInfo.ts index 2c30dcfdf..40272d8d5 100644 --- a/src/hooks/useMobileInfo.ts +++ b/src/hooks/useMobileInfo.ts @@ -1,5 +1,4 @@ import { IdlAccounts } from '@coral-xyz/anchor' -import { UseAccountState } from '@helium/account-fetch-cache-hooks' import { mobileInfoKey, rewardableEntityConfigKey, @@ -15,9 +14,7 @@ export type MobileHotspotInfoV0 = pubKey: PublicKey } -export const useMobileInfo = ( - entityKey: string | undefined, -): UseAccountState | undefined => { +export const useMobileInfo = (entityKey: string | undefined) => { const [mobileConfigKey] = rewardableEntityConfigKey( MOBILE_SUB_DAO_KEY, 'MOBILE',