Skip to content

Commit

Permalink
chore(react): remove unused classname
Browse files Browse the repository at this point in the history
  • Loading branch information
naporin0624 committed May 22, 2024
1 parent 90c7266 commit 89b36ac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exports[`Storybook Tests TagItem Active 1`] = `
data-has-translate={false}
>
<span
className="charcoal-tag-item-half-leading-text charcoal-tag-item__label__text"
className="charcoal-tag-item__label__text"
data-has-translate={false}
>
#女の子
Expand Down Expand Up @@ -53,7 +53,7 @@ exports[`Storybook Tests TagItem BGColor 1`] = `
data-has-translate={false}
>
<span
className="charcoal-tag-item-half-leading-text charcoal-tag-item__label__text"
className="charcoal-tag-item__label__text"
data-has-translate={false}
>
女の子
Expand Down Expand Up @@ -83,7 +83,7 @@ exports[`Storybook Tests TagItem BGImage 1`] = `
data-has-translate={false}
>
<span
className="charcoal-tag-item-half-leading-text charcoal-tag-item__label__text"
className="charcoal-tag-item__label__text"
data-has-translate={false}
>
#女の子
Expand Down Expand Up @@ -113,7 +113,7 @@ exports[`Storybook Tests TagItem Default 1`] = `
data-has-translate={false}
>
<span
className="charcoal-tag-item-half-leading-text charcoal-tag-item__label__text"
className="charcoal-tag-item__label__text"
data-has-translate={false}
>
#女の子
Expand Down Expand Up @@ -144,7 +144,7 @@ exports[`Storybook Tests TagItem Disabled 1`] = `
data-has-translate={false}
>
<span
className="charcoal-tag-item-half-leading-text charcoal-tag-item__label__text"
className="charcoal-tag-item__label__text"
data-has-translate={false}
>
#女の子
Expand Down Expand Up @@ -174,7 +174,7 @@ exports[`Storybook Tests TagItem InActive 1`] = `
data-has-translate={false}
>
<span
className="charcoal-tag-item-half-leading-text charcoal-tag-item__label__text"
className="charcoal-tag-item__label__text"
data-has-translate={false}
>
#女の子
Expand Down Expand Up @@ -204,7 +204,7 @@ exports[`Storybook Tests TagItem Small 1`] = `
data-has-translate={false}
>
<span
className="charcoal-tag-item-half-leading-text charcoal-tag-item__label__text"
className="charcoal-tag-item__label__text"
data-has-translate={false}
>
#女の子
Expand Down Expand Up @@ -234,12 +234,12 @@ exports[`Storybook Tests TagItem TranslatedLabel 1`] = `
data-has-translate={true}
>
<span
className="charcoal-tag-item-half-leading-text charcoal-tag-item__label__translated"
className="charcoal-tag-item__label__translated"
>
girl
</span>
<span
className="charcoal-tag-item-half-leading-text charcoal-tag-item__label__text"
className="charcoal-tag-item__label__text"
data-has-translate={true}
>
#女の子
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/components/TagItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ const TagItem = forwardRef(function TagItemInner<T extends React.ElementType>(
data-has-translate={hasTranslatedLabel}
>
{hasTranslatedLabel && (
<span className="charcoal-tag-item-half-leading-text charcoal-tag-item__label__translated">
<span className="charcoal-tag-item__label__translated">
{translatedLabel}
</span>
)}
<span
className="charcoal-tag-item-half-leading-text charcoal-tag-item__label__text"
className="charcoal-tag-item__label__text"
data-has-translate={hasTranslatedLabel}
>
{label}
Expand Down

0 comments on commit 89b36ac

Please sign in to comment.