전량청산 얼럿 삭제
This commit is contained in:
@@ -42,7 +42,7 @@ const PortfolioPanel = React.memo(({
|
|||||||
|
|
||||||
const handleSellClick = async (e: React.MouseEvent) => {
|
const handleSellClick = async (e: React.MouseEvent) => {
|
||||||
e.stopPropagation()
|
e.stopPropagation()
|
||||||
if (!confirm(`${stock.stock_name} 전량(${quantity}주)을 시장가로 매도하시겠습니까?`)) return
|
|
||||||
try {
|
try {
|
||||||
await onSell(stock.stock_code, stock.stock_name, quantity)
|
await onSell(stock.stock_code, stock.stock_name, quantity)
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
|
|||||||
Reference in New Issue
Block a user