Skip to content

Commit

Permalink
Forgot to format lol
Browse files Browse the repository at this point in the history
  • Loading branch information
DannielK committed Sep 7, 2024
1 parent 327c411 commit 8db9437
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/admin/Tag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ const Tag = ({ color, text, onClick, classes, statuses }: props) => {
} m-0 w-fit whitespace-nowrap rounded px-2 py-0.5 text-xs md:text-sm`}
onClick={onClick}
>
{isNaN(Number(text))
? text
: statuses?.[text as keyof StatusMapping]}
{isNaN(Number(text)) ? text : statuses?.[text as keyof StatusMapping]}
</div>
);
};
Expand Down

0 comments on commit 8db9437

Please sign in to comment.