Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Hide controls on closed appeals
  • Loading branch information
regalijan committed Oct 20, 2023
1 parent 4a62ce5 commit ea1f54f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/AppealCard.tsx
Expand Up @@ -130,7 +130,7 @@ export default function (props: AppealCardProps) {
</Stack>
</CardBody>
<CardFooter pb="4px">
<Box>
<Box visibility={props.open ? "visible" : "hidden"}>
<Button colorScheme="red" onClick={() => showModal("Deny")}>
Deny
</Button>
Expand Down

0 comments on commit ea1f54f

Please sign in to comment.