Skip to content

Commit

Permalink
fix tokens class case
Browse files Browse the repository at this point in the history
  • Loading branch information
Enjoy2Live committed Jun 20, 2024
1 parent 08d09b0 commit 932902c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions apps/ideaspace/src/components/common/IdeaCard/IdeaCardTag.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ const IdeaCardTag = ({ status }) => {
// const [tagColor, setTagColor] = useState('');

const tagColor = {
submitted: 'bg-light-blue-lightblue-100',
'in-review': 'bg-yellow-yellow-100',
approved: 'bg-success-success-100',
archieved: 'bg-blue-blue-100',
workshopping: 'bg-orange-orange-100',
submitted: 'bg-LightBlue-lightblue-100',
'in-review': 'bg-Yellow-yellow-100',
approved: 'bg-Success-success-100',
archieved: 'bg-Blue-blue-100',
workshopping: 'bg-Orange-orange-100',
};

// React.useEffect(() => {
Expand All @@ -33,8 +33,7 @@ const IdeaCardTag = ({ status }) => {
// }
// }, [status]);

return <StatuBox backgroundColor={tagColor[status]}> {status} </StatuBox>;

return <StatuBox className={tagColor[status]}> {status} </StatuBox>;
// return (
// <StatuBox style={{ background: tagColor, }}>{tag}</StatuBox>
// )
Expand Down

0 comments on commit 932902c

Please sign in to comment.