Skip to content

Commit

Permalink
fixes errors
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-garrett committed Jan 28, 2025
1 parent 05e2f7d commit c64ff1f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions apps/flame-defi/app/pool/components/DepositAmountsStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,15 @@

import { StepProps } from "./NewPoolPosition";
import { ActionButton } from "@repo/ui/components";
import { TOKEN_INPUTS } from "../../constants";
import { TokenState } from "@repo/ui/types";
import { useState } from "react";
import { useDepositTxn } from "../useDepositTxn";

export default function DepositAmountsStep({
step,
setStep,
tokenPair,
}: StepProps): React.ReactElement {
const { tokenOne, tokenTwo } = tokenPair;
const [inputSelected, setInputSelected] = useState(TOKEN_INPUTS.TOKEN_ONE);
const [inputOne, setInputOne] = useState<TokenState>({
token: tokenOne,
value: undefined,
Expand Down Expand Up @@ -44,7 +41,6 @@ export default function DepositAmountsStep({
</p>
<div
onKeyDown={() => null}
onClick={() => setInputSelected(TOKEN_INPUTS.TOKEN_ONE)}
className={`flex flex-col rounded-md p-transition bg-semi-white border border-solid border-transparent hover:border-grey-medium mt-4 p-4`}
>
<div className="flex justify-between items-center">
Expand Down Expand Up @@ -78,7 +74,6 @@ export default function DepositAmountsStep({
</div>
<div
onKeyDown={() => null}
onClick={() => setInputSelected(TOKEN_INPUTS.TOKEN_TWO)}
className={`flex flex-col rounded-md p-transition bg-semi-white border border-solid border-transparent hover:border-grey-medium mt-2 p-4`}
>
<div className="flex justify-between items-center">
Expand Down

0 comments on commit c64ff1f

Please sign in to comment.