diff --git a/src/components/common/TransactionCard/index.tsx b/src/components/common/TransactionCard/index.tsx index b4bc18b..a70d39a 100644 --- a/src/components/common/TransactionCard/index.tsx +++ b/src/components/common/TransactionCard/index.tsx @@ -5,29 +5,37 @@ import CurrencyLogo from "../CurrencyLogo"; import EtherScanLogo from "@/assets/etherscan-logo-circle.svg" import { Check, ExternalLinkIcon, X } from "lucide-react"; import { Link } from "react-router-dom"; -import { Transaction } from "@/state/pendingTransactionsStore"; +import { Transaction, TransactionType } from "@/state/pendingTransactionsStore"; import Loader from "../Loader"; +import { FarmingPositionImg } from "@/components/farming/FarmingPositionImg"; export const TransactionCard = ({ hash, transaction }: { hash: Address, transaction: Transaction }) => { const currencyA = useCurrency(transaction.data.tokenA, true); const currencyB = useCurrency(transaction.data.tokenB, true); + const txType = transaction.data.type; + return
{position.id}
- )} -Position #{position.id}
{positionId.toString()}
+ )} +