From d9bfff107fc791f35af7cb0585dacdbbe45b6abf Mon Sep 17 00:00:00 2001 From: GZTime Date: Sat, 6 May 2023 23:24:56 +0800 Subject: [PATCH] fix: do not mutate GameChallengesWithTeamInfo --- src/GZCTF/ClientApp/src/components/ChallengeDetailModal.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/GZCTF/ClientApp/src/components/ChallengeDetailModal.tsx b/src/GZCTF/ClientApp/src/components/ChallengeDetailModal.tsx index ea4d87c42..bcacb445f 100644 --- a/src/GZCTF/ClientApp/src/components/ChallengeDetailModal.tsx +++ b/src/GZCTF/ClientApp/src/components/ChallengeDetailModal.tsx @@ -105,7 +105,7 @@ export const WrongFlagHints: string[] = [ '碰壁了,难道是你已经到了巅峰?', '岁月静好,flag 却已然远去。', '浅水已涸,flag 不可复得。', - '白雪纷纷何所似,似此 flag 被我错过。', + '白雪纷纷何所似,似此 flag 被错过。', '旧事追思,往事如烟。flag 已然消逝。', '桃花潭水深千尺,不及 flag 不见了踪迹。', '万籁俱寂,唯有 flag 的错误提示在耳边响起。', @@ -250,7 +250,6 @@ const ChallengeDetailModal: FC = (props) => { checkDataFlag(submitId, res.data) clearInterval(polling) setDisabled(false) - api.game.mutateGameChallengesWithTeamInfo(gameId) } }) .catch((err) => {