From 522eb1dbd88783d78ba0d63e462e0f69c9562ce7 Mon Sep 17 00:00:00 2001 From: nguyenlejoe Date: Tue, 5 Dec 2023 14:39:42 -0800 Subject: [PATCH] lint --- src/index.ts | 2 +- src/utils/store/Covalent.tsx | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index 97a25a78..76c58fa6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,4 +2,4 @@ export { AddressActivityListView } from "./components/Organisms/TokenBalances/Ad export { TokenBalancesListView } from "./components/Organisms/TokenBalances/TokenBalancesListView/TokenBalancesListView"; export { TokenTransfersListView } from "./components/Organisms/TokenBalances/TokenTransfersListView/TokenTransfersListView"; export { NFTWalletTokenListView } from "./components/Organisms/NFTs/NFTWalletTokenListView/NFTWalletTokenListView"; -export { CovalentProvider as GoldRushProvider } from "./utils/store/Covalent"; \ No newline at end of file +export { CovalentProvider as GoldRushProvider } from "./utils/store/Covalent"; diff --git a/src/utils/store/Covalent.tsx b/src/utils/store/Covalent.tsx index ec5cccc0..8ef2a397 100644 --- a/src/utils/store/Covalent.tsx +++ b/src/utils/store/Covalent.tsx @@ -1,5 +1,6 @@ import { createContext, useContext, useEffect, useMemo, useState } from "react"; -import { ChainItem, CovalentClient } from "@covalenthq/client-sdk"; +import { CovalentClient } from "@covalenthq/client-sdk"; +import { type ChainItem } from "@covalenthq/client-sdk"; import { Toaster } from "@/components/ui/toaster"; interface CovalentContextType { @@ -39,7 +40,9 @@ export const CovalentProvider: React.FC = ({ }, []); return ( - + {children} @@ -47,4 +50,3 @@ export const CovalentProvider: React.FC = ({ }; export const useCovalent = () => useContext(CovalentContext); -