style(frontend): 格式化前端代码并修复 eslint 异步操作未标记告警
- 统一 prettier 代码风格; - 为 AdminTaskDetailPage 与 AdminTasksPage 中未捕获的 Promise 添加 void 标记; - 验证方式:npm --prefix apps/frontend run check 全流程通过。
This commit is contained in:
@@ -306,7 +306,16 @@ export function AffiliateDashResultStep({ snapshot }: { snapshot: ClaimSnapshot
|
||||
return () => {
|
||||
cancelled = true
|
||||
}
|
||||
}, [success, productName, productSKU, snapshot.product?.imageUrl, roleName, boundAccount, gameChannel, redeemedAt])
|
||||
}, [
|
||||
success,
|
||||
productName,
|
||||
productSKU,
|
||||
snapshot.product?.imageUrl,
|
||||
roleName,
|
||||
boundAccount,
|
||||
gameChannel,
|
||||
redeemedAt,
|
||||
])
|
||||
|
||||
const handleCopyVoucher = async () => {
|
||||
if (!voucherUrl) return
|
||||
|
||||
Reference in New Issue
Block a user