From fb1b4bd10c7dfdd03916aac4f777ea665cd6a06a Mon Sep 17 00:00:00 2001 From: dongree Date: Thu, 5 Dec 2024 15:37:55 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix:=20=EB=A7=A4=EC=88=98/?= =?UTF-8?q?=EB=A7=A4=EB=8F=84=20=EC=9A=94=EC=B2=AD=20enter=ED=82=A4?= =?UTF-8?q?=EB=A1=9C=20=ED=95=98=EC=A7=80=20=EB=AA=BB=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StocksDetail/TradeSection/BuySection.tsx | 10 +++++++++- .../StocksDetail/TradeSection/SellSection.tsx | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/FE/src/components/StocksDetail/TradeSection/BuySection.tsx b/FE/src/components/StocksDetail/TradeSection/BuySection.tsx index e6b9754..d1e5c89 100644 --- a/FE/src/components/StocksDetail/TradeSection/BuySection.tsx +++ b/FE/src/components/StocksDetail/TradeSection/BuySection.tsx @@ -106,7 +106,15 @@ export default function BuySection({ code, detailInfo }: BuySectionProps) { return ( <> -
+ { + if (e.key === 'Enter') { + e.preventDefault(); + } + }} + >

매수 가격

diff --git a/FE/src/components/StocksDetail/TradeSection/SellSection.tsx b/FE/src/components/StocksDetail/TradeSection/SellSection.tsx index befeb69..c8fd71b 100644 --- a/FE/src/components/StocksDetail/TradeSection/SellSection.tsx +++ b/FE/src/components/StocksDetail/TradeSection/SellSection.tsx @@ -134,7 +134,15 @@ export default function SellSection({ code, detailInfo }: SellSectionProps) { return ( <> - + { + if (e.key === 'Enter') { + e.preventDefault(); + } + }} + >

매도 가격