fix(frontend): 移除未使用变量与导入以消除 TS 报错

Made-with: Cursor
This commit is contained in:
WrBug
2026-03-02 22:07:04 +08:00
parent 8f0a49493c
commit 9c70dc762f
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -965,7 +965,6 @@ const PositionList: React.FC = () => {
key: 'valueAndPnl',
render: (_: any, record: AccountPosition) => {
const pnlNum = parseFloat(record.pnl || '0')
const percentPnl = parseFloat(record.percentPnl || '0')
const realizedPnl = record.realizedPnl ? parseFloat(record.realizedPnl) : null
const percentRealizedPnl = record.percentRealizedPnl ? parseFloat(record.percentRealizedPnl) : null