Skip to content

Commit

Permalink
style: 🔧 fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
VoloshchenkoAl committed Jun 10, 2022
1 parent 63d59a0 commit 9da0936
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Input = forwardRef<HTMLInputElement, InputProps>((props, ref) => {
const inputClassNames = cx(className, {
'-with-action': action,
'-with-currency': currency,
'-with-icon': icon
'-with-icon': icon,
});

const componentProps: any = {
Expand Down
2 changes: 1 addition & 1 deletion src/Tag/Tag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Tag: FC<React.PropsWithChildren<TagProps>> = ({
}) => {
const tagClassNames = cx('tag', className, {
[`-${color}`]: color,
'tag-action': onRemove
'tag-action': onRemove,
});

return (
Expand Down
4 changes: 2 additions & 2 deletions src/TagInput/TagInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const TagInput: React.FC<React.PropsWithChildren<TagInput>> = ({

const tagInputClassNames = cx('tag-input', className, {
'-readonly': isReadOnly,
'-error': showError
'-error': showError,
});

const checkIsUniqueTag = (tag: string, list: TagInputListItem[]) => {
Expand Down Expand Up @@ -161,7 +161,7 @@ const TagInput: React.FC<React.PropsWithChildren<TagInput>> = ({
as: 'span',
color,
borderRadius: 24,
...(!isReadOnly && { onRemove: () => handleRemoveTag(id) })
...(!isReadOnly && { onRemove: () => handleRemoveTag(id) }),
};

return (<Tag key={id} {...tagProps}>{formatter?.(value) ?? value}</Tag>);
Expand Down

0 comments on commit 9da0936

Please sign in to comment.