Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Check for empty status
  • Loading branch information
regalijan committed Nov 5, 2023
1 parent bfb0273 commit 5b9a31a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/routes/hammer.tsx
@@ -322,7 +322,9 @@ export default function () {
<Button
colorScheme="red"
onClick={onOpen}
visibility={status !== "Not Moderated" ? "visible" : "hidden"}
visibility={
status !== "Not Moderated" && !status ? "visible" : "hidden"
}
>
Revoke Punishment
</Button>

0 comments on commit 5b9a31a

Please sign in to comment.