diff --git a/src/app/my-account/_components/stock-table.tsx b/src/app/my-account/_components/stock-table.tsx index 3c4a3df..dac5736 100644 --- a/src/app/my-account/_components/stock-table.tsx +++ b/src/app/my-account/_components/stock-table.tsx @@ -1,6 +1,7 @@ "use client"; import clsx from "clsx"; +import Link from "next/link"; import { useMemo } from "react"; import { Stock } from "../types"; @@ -18,7 +19,6 @@ export default function StockTable({ stocks }: StockTableProps) { })); }, [stocks]); - // 수익률의 부호에 따라 평가손익의 부호를 보정 const getEvaluationProfitWithSign = (profit: number, rate: number) => { const absProfit = Math.abs(profit); return rate < 0 ? -absProfit : absProfit; @@ -31,51 +31,56 @@ export default function StockTable({ stocks }: StockTableProps) {