Skip to content

Commit

Permalink
chore: lint files
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanNeiverth committed Oct 28, 2024
1 parent 428128b commit 694700d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions apps/deposit-pool/src/components/PoolForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ import { Label, formatNumber } from "@bleu/ui";
import { useCallback, useEffect, useMemo } from "react";
import { useFormContext, useFormState, useWatch } from "react-hook-form";
import { type Address, formatUnits } from "viem";
import { useTokenContext } from "#/contexts/tokens";
import { usePoolBalance } from "#/hooks/usePoolBalance";
import type { FormType } from "#/types";
import { calculateProportionalTokenAmounts, getTokenPrice } from "#/utils/math";
import { TokenAmountInput } from "./TokenAmountInput";
import { useTokenContext } from "#/contexts/tokens";
import { AmountFromSwapCheckbox } from "./AmountFromSwapCheckbox";
import { AmountFromAccountCheckbox } from "./AmountFromAccountCheckbox";
import { AmountFromSwapCheckbox } from "./AmountFromSwapCheckbox";
import { AmountFromUserInputCheckbox } from "./AmountFromUserInputCheckbox";
import { TokenAmountInput } from "./TokenAmountInput";

export function PoolForm({ pool }: { pool: IPool | undefined }) {
const { context } = useIFrameContext();
Expand Down
2 changes: 1 addition & 1 deletion apps/deposit-pool/src/components/TokenAmountInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { Button, Input, formatNumber } from "@bleu/ui";
import { useCallback, useMemo } from "react";
import { useFormContext, useWatch } from "react-hook-form";
import type { Address } from "viem";
import type { FormType } from "#/types";
import { useTokenContext } from "#/contexts/tokens";
import type { FormType } from "#/types";
import { constraintStringToBeNumeric } from "#/utils/constraintStringToBeNumeric";

export function TokenAmountInput({
Expand Down
2 changes: 1 addition & 1 deletion apps/deposit-pool/src/contexts/tokens.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"use client";

import { useSelectedPool } from "#/hooks/useSelectedPool";
import { useIFrameContext, useReadTokenContract } from "@bleu/cow-hooks-ui";
import { Token } from "@uniswap/sdk-core";
import {
Expand All @@ -10,6 +9,7 @@ import {
useMemo,
} from "react";
import type { Address } from "viem";
import { useSelectedPool } from "#/hooks/useSelectedPool";
import { formatTokenBalance } from "#/utils/formatTokenBalance";

interface TokenWithBalance extends Token {
Expand Down

0 comments on commit 694700d

Please sign in to comment.