Fix various components

This commit is contained in:
2024-05-12 02:02:41 -04:00
parent 0a68358aac
commit 1c1b5c71af
3 changed files with 21 additions and 4 deletions

View File

@ -127,7 +127,9 @@ export default function (props: AppealCardProps & { port?: MessagePort }) {
</Stack>
</CardBody>
<CardFooter pb="4px">
<Box display={props.open ? undefined : "none"}>
<Box
display={typeof props.approved === "number" ? "none" : "undefined"}
>
<Button colorScheme="red" onClick={() => showModal("Deny")}>
Deny
</Button>