Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Only display revoke button if status isn't unmoderated
  • Loading branch information
regalijan committed Nov 5, 2023
1 parent e4a0bb4 commit 7415782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/hammer.tsx
Expand Up @@ -324,7 +324,7 @@ export default function () {
<Button
colorScheme="red"
onClick={onOpen}
visibility={status ? "visible" : "hidden"}
visibility={status !== "Not Moderated" ? "visible" : "hidden"}
>
Revoke Punishment
</Button>
Expand Down

0 comments on commit 7415782

Please sign in to comment.