Skip to content

Commit

Permalink
Merge branch 'main' into mta-1719
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 authored Nov 22, 2023
2 parents c6a50dd + a71d419 commit a3496e3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ import React from "react";
export const ReviewedArchetypeItem = ({ id }: { id: number }) => {
const { archetype } = useFetchArchetypeById(id);

if (!archetype) return null;
if (!archetype?.review) return null;

return (
<Label color="grey" key={id}>
{archetype.name}
{archetype.review ? " (Reviewed)" : " (Not Reviewed)"}
</Label>
);
};

0 comments on commit a3496e3

Please sign in to comment.