Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add keys to queue item cards
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent a3f65a3 commit 54a650a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/AppealCard.tsx
Expand Up @@ -71,7 +71,7 @@ export default function (props: AppealCardProps) {
}

return (
<Card id={`appeal_${props.user.id}`} w="100%">
<Card id={`appeal_${props.user.id}`} key={props.id} w="100%">
<Modal isOpen={isOpen} onClose={onClose}>
<ModalOverlay />
<ModalContent>
Expand Down
2 changes: 1 addition & 1 deletion components/GameAppealCard.tsx
Expand Up @@ -56,7 +56,7 @@ export default function (props: GameAppealProps) {
const { isOpen, onClose, onOpen } = useDisclosure();

return (
<Card w="100%">
<Card key={props.roblox_id} w="100%">
<CardHeader>
<Heading size="md">Game Ban Appeal for {props.roblox_username}</Heading>
<Text fontSize="xs">ID: {props.roblox_id}</Text>
Expand Down
2 changes: 1 addition & 1 deletion components/ReportCard.tsx
Expand Up @@ -41,7 +41,7 @@ export default function (props: ReportCardProps) {
}

return (
<Card w="100%">
<Card key={props.id} w="100%">
<CardHeader>
<Heading size="lg">
Report for {props.target_usernames.toString()}
Expand Down

0 comments on commit 54a650a

Please sign in to comment.