From 4e60cae42c4fdec64769944de977b810063e53c9 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 22 Dec 2022 09:02:22 +0800 Subject: [PATCH] Fix spoiler bug --- src/components/status.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/status.jsx b/src/components/status.jsx index 26240078..978cb149 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -378,7 +378,7 @@ function Status({ if (showSpoiler) { states.spoilers.delete(id); } else { - states.spoilers.add(id); + states.spoilers.set(id, true); } }} >