style(frontend): 格式化前端代码并修复 eslint 异步操作未标记告警

- 统一 prettier 代码风格;
- 为 AdminTaskDetailPage 与 AdminTasksPage 中未捕获的 Promise 添加 void 标记;
- 验证方式:npm --prefix apps/frontend run check 全流程通过。
This commit is contained in:
yml2213
2026-10-11 15:20:54 +08:00
parent 6012add3c9
commit 9ce29964c7
12 changed files with 41 additions and 38 deletions
@@ -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