Skip to content

Commit

Permalink
Move existing LiquidityContext to venmo context directory
Browse files Browse the repository at this point in the history
  • Loading branch information
asoong committed Dec 6, 2023
1 parent d8ec1ba commit 86114a1
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
DepositWithAvailableLiquidity,
IndicativeQuote,
StoredDeposit
} from '../../venmo/Deposits/types'
} from '../Deposits/types'

import {
calculateUsdFromRequestedUSDC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
DepositWithAvailableLiquidity,
IndicativeQuote,
StoredDeposit
} from '../../venmo/Deposits/types'
} from '../Deposits/types'
import {
calculateUsdFromRequestedUSDC,
createDepositsStore,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
2 changes: 1 addition & 1 deletion client/src/hooks/useLiquidity.ts
Original file line number Diff line number Diff line change
@@ -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) }
Expand Down

0 comments on commit 86114a1

Please sign in to comment.