調整歷史戰績刪除提示並更新 README

This commit is contained in:
2026-04-16 18:14:56 +08:00
parent d5fee1d299
commit 0cfcdc3b0a
3 changed files with 19 additions and 22 deletions

View File

@@ -53,14 +53,6 @@ export function HistoryPage() {
return
}
const confirmedAgain = window.confirm(
`請再次確認要刪除這筆戰績:\n${item.leftTeamName} vs ${item.rightTeamName}`,
)
if (!confirmedAgain) {
return
}
setDeletingId(item.id)
setError('')
@@ -128,7 +120,7 @@ export function HistoryPage() {
{item.score[0]} - {item.score[1]}
</span>
<span>{item.typeLabel}</span>
<span>{item.winScore}</span>
<span>{item.winScore}</span>
</div>
</button>