From 74ddb3b80c7d51d529f8ca71f58b98b7b4898d78 Mon Sep 17 00:00:00 2001 From: "Au Chen Xi, Gabriel" Date: Tue, 14 Nov 2023 00:02:06 +0800 Subject: [PATCH] Force timer to stop regardless when time exceeded --- src/pages/collab/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/collab/index.tsx b/src/pages/collab/index.tsx index da287b2..008e677 100644 --- a/src/pages/collab/index.tsx +++ b/src/pages/collab/index.tsx @@ -149,6 +149,7 @@ const MatchRequestPage = () => { const { difficulty, category, matchType } = curUserMatchRequest; const sameRequest = { difficulty, category, matchType }; deleteMatchRequest({ matchType: curUserMatchRequest.matchType }); + stopTimer(); toast( (t) => (