From 00fc6ff1ad982d88af26653ee5f0045ed015ccc4 Mon Sep 17 00:00:00 2001 From: gnehs Date: Mon, 4 Mar 2024 22:41:01 +0800 Subject: [PATCH] updated info --- src/app/(game)/scanner/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/(game)/scanner/page.tsx b/src/app/(game)/scanner/page.tsx index 0288905..1f6526b 100644 --- a/src/app/(game)/scanner/page.tsx +++ b/src/app/(game)/scanner/page.tsx @@ -52,9 +52,9 @@ function Scan({ playerToken }: { playerToken: string | null }) { try { const result = await sendPuzzle2Player(playerToken, boothToken); if (result === puzzleSuccess) { - setInfo({ title: "已完成", msg: "恭喜獲得拼圖!!" }); + setInfo({ title: "成功", msg: "恭喜獲得拼圖!" }); } else if (result === puzzleTaken) { - setInfo({ title: "失敗", msg: "此拼圖已存在。" }); + setInfo({ title: "成功", msg: "你已經有這個拼圖了!" }); } else if (result === invalidToken) { setInfo({ title: "失敗", msg: "請先報到。" }); }