From 25e80239d2fc1e1599f32a321b91402e20978ba3 Mon Sep 17 00:00:00 2001 From: dbstj0403 Date: Sat, 28 Jun 2025 16:15:35 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20get-transaction=20=ED=95=A8=EC=88=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20(#198)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/actions/get-trasactions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/actions/get-trasactions.tsx b/app/actions/get-trasactions.tsx index 0436354..e5da135 100644 --- a/app/actions/get-trasactions.tsx +++ b/app/actions/get-trasactions.tsx @@ -68,7 +68,7 @@ export const getTransactions = async (): Promise => { ...etfTxs.map((e) => ({ id: e.id.toString(), rawType: e.transactionType, - amount: e.price.toNumber(), + amount: e.price.toNumber() * e.quantity.toNumber(), at: e.transactionAt, label: e.etf.issueNameKo ?? 'ETF', })),