From caabf965b454ffbb8ec12508ed63d1792a4312d4 Mon Sep 17 00:00:00 2001 From: Regalijan Date: Sun, 5 Nov 2023 00:29:47 -0400 Subject: [PATCH] Actually fix revoke button hiding --- app/routes/hammer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/hammer.tsx b/app/routes/hammer.tsx index 37fe346..76b4b04 100644 --- a/app/routes/hammer.tsx +++ b/app/routes/hammer.tsx @@ -323,7 +323,7 @@ export default function () { colorScheme="red" onClick={onOpen} visibility={ - status !== "Not Moderated" && !status ? "visible" : "hidden" + status === "Not Moderated" || !status ? "hidden" : "visible" } > Revoke Punishment