Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Derrick-Mao committed Sep 15, 2024
1 parent 6b0221a commit f8f89d4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/admin/Tag.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ const Tag = ({ color, text, onClick, classes, statuses }) => {
return (
<Badge
data-cy={`${text}-tag`}
className={`m-0 w-fit whitespace-nowrap rounded px-2 py-0.5 text-xs md:text-sm
${classes} ${color.background} ${color.text} ${
onClick && `hover:cursor-pointer ${color.hover}`
}`}
className={`m-0 w-fit whitespace-nowrap rounded px-2 py-0.5 text-xs md:text-sm ${classes} ${color.background} ${color.text} ${
onClick && `hover:cursor-pointer ${color.hover}`
}`}
onClick={onClick}
>
{isNaN(text) ? text : statuses[text]}
Expand Down

0 comments on commit f8f89d4

Please sign in to comment.