Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
fix: classname warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidurber committed Nov 3, 2019
1 parent f937117 commit e6a1688
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Placeholder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ const Placeholder: React.FC<PlaceholderProps> = ({
}

return (
<span className="picky__placeholder" data-testid="picky_placeholder">
<span
className={isEmptyValue(value) ? 'picky__placeholder' : undefined}
data-testid="picky_placeholder"
>
{message}
</span>
);
Expand Down

0 comments on commit e6a1688

Please sign in to comment.