diff --git a/client/src/App.tsx b/client/src/App.tsx index 600ae8c2f..a34209989 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -22,7 +22,7 @@ import { EnvironmentBanner } from '@components/layouts/EnvironmentBanner'; import AccountProvider from "./contexts/common/Account/AccountProvider"; import BalancesProvider from "./contexts/common/Balances/BalancesProvider"; import GoogleAuthProvider from './contexts/common/GoogleAuth/GoogleAuthProvider'; -import LiquidityProvider from './contexts/common/Liquidity/LiquidityProvider'; +import LiquidityProvider from './contexts/venmo/Liquidity/LiquidityProvider'; import PlatformSettings from './contexts/common/PlatformSettings/PlatformSettingsProvider'; import ProofGenSettingsProvider from "./contexts/common/ProofGenSettings/ProofGenSettingsProvider"; import SmartContractsProvider from './contexts/common/SmartContracts/SmartContractsProvider'; diff --git a/client/src/contexts/common/Liquidity/LiquidityContext.ts b/client/src/contexts/venmo/Liquidity/LiquidityContext.ts similarity index 96% rename from client/src/contexts/common/Liquidity/LiquidityContext.ts rename to client/src/contexts/venmo/Liquidity/LiquidityContext.ts index 599935d6a..5c4777554 100644 --- a/client/src/contexts/common/Liquidity/LiquidityContext.ts +++ b/client/src/contexts/venmo/Liquidity/LiquidityContext.ts @@ -4,7 +4,7 @@ import { DepositWithAvailableLiquidity, IndicativeQuote, StoredDeposit -} from '../../venmo/Deposits/types' +} from '../Deposits/types' import { calculateUsdFromRequestedUSDC diff --git a/client/src/contexts/common/Liquidity/LiquidityProvider.tsx b/client/src/contexts/venmo/Liquidity/LiquidityProvider.tsx similarity index 99% rename from client/src/contexts/common/Liquidity/LiquidityProvider.tsx rename to client/src/contexts/venmo/Liquidity/LiquidityProvider.tsx index fa715bfb3..ff91b7512 100644 --- a/client/src/contexts/common/Liquidity/LiquidityProvider.tsx +++ b/client/src/contexts/venmo/Liquidity/LiquidityProvider.tsx @@ -12,7 +12,7 @@ import { DepositWithAvailableLiquidity, IndicativeQuote, StoredDeposit -} from '../../venmo/Deposits/types' +} from '../Deposits/types' import { calculateUsdFromRequestedUSDC, createDepositsStore, diff --git a/client/src/contexts/common/Liquidity/helper.ts b/client/src/contexts/venmo/Liquidity/helper.ts similarity index 98% rename from client/src/contexts/common/Liquidity/helper.ts rename to client/src/contexts/venmo/Liquidity/helper.ts index a586fec6c..97988cbca 100644 --- a/client/src/contexts/common/Liquidity/helper.ts +++ b/client/src/contexts/venmo/Liquidity/helper.ts @@ -4,7 +4,7 @@ import { DepositWithAvailableLiquidity, IndicativeQuote, StoredDeposit -} from "../../venmo/Deposits/types"; +} from "../Deposits/types"; import { PENNY_IN_USDC_UNITS, PRECISION } from "@helpers/constants"; import { toBigInt, toUsdString } from "@helpers/units"; diff --git a/client/src/contexts/common/Liquidity/index.ts b/client/src/contexts/venmo/Liquidity/index.ts similarity index 100% rename from client/src/contexts/common/Liquidity/index.ts rename to client/src/contexts/venmo/Liquidity/index.ts diff --git a/client/src/hooks/useLiquidity.ts b/client/src/hooks/useLiquidity.ts index c98748ada..e7d092009 100644 --- a/client/src/hooks/useLiquidity.ts +++ b/client/src/hooks/useLiquidity.ts @@ -1,6 +1,6 @@ import { useContext } from 'react' -import { LiquidityContext } from '../contexts/common/Liquidity' +import { LiquidityContext } from '../contexts/venmo/Liquidity' const useLiquidity = () => { return { ...useContext(LiquidityContext) }