From 9da09360a40177442f1c4c5c7283b36437c1ab9d Mon Sep 17 00:00:00 2001 From: avo Date: Fri, 10 Jun 2022 12:45:46 +0300 Subject: [PATCH] style: :wrench: fix eslint errors --- src/Input/Input.tsx | 2 +- src/Tag/Tag.tsx | 2 +- src/TagInput/TagInput.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Input/Input.tsx b/src/Input/Input.tsx index 7069dac..2d2a1ae 100644 --- a/src/Input/Input.tsx +++ b/src/Input/Input.tsx @@ -62,7 +62,7 @@ const Input = forwardRef((props, ref) => { const inputClassNames = cx(className, { '-with-action': action, '-with-currency': currency, - '-with-icon': icon + '-with-icon': icon, }); const componentProps: any = { diff --git a/src/Tag/Tag.tsx b/src/Tag/Tag.tsx index 5ccbe41..f589045 100644 --- a/src/Tag/Tag.tsx +++ b/src/Tag/Tag.tsx @@ -20,7 +20,7 @@ const Tag: FC> = ({ }) => { const tagClassNames = cx('tag', className, { [`-${color}`]: color, - 'tag-action': onRemove + 'tag-action': onRemove, }); return ( diff --git a/src/TagInput/TagInput.tsx b/src/TagInput/TagInput.tsx index 7bcb6a5..915f857 100644 --- a/src/TagInput/TagInput.tsx +++ b/src/TagInput/TagInput.tsx @@ -62,7 +62,7 @@ const TagInput: React.FC> = ({ const tagInputClassNames = cx('tag-input', className, { '-readonly': isReadOnly, - '-error': showError + '-error': showError, }); const checkIsUniqueTag = (tag: string, list: TagInputListItem[]) => { @@ -161,7 +161,7 @@ const TagInput: React.FC> = ({ as: 'span', color, borderRadius: 24, - ...(!isReadOnly && { onRemove: () => handleRemoveTag(id) }) + ...(!isReadOnly && { onRemove: () => handleRemoveTag(id) }), }; return ({formatter?.(value) ?? value});