Skip to content

Commit 39d4de8

Browse files
ruchevitsmrin9
authored andcommitted
fix eslint errors
1 parent 5bdc19f commit 39d4de8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/components/tag-input.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,10 @@ export default class TagInput extends LitElement {
3939
const clipboardData = e.clipboardData || window.clipboardData;
4040
const pastedData = clipboardData.getData('Text');
4141
const pastedArray = pastedData ? pastedData.split(',').filter((v) => v.trim() !== '') : '';
42-
43-
if(pastedArray) {
42+
if (pastedArray) {
4443
if (Array.isArray(this.value)) {
4544
this.value = [...this.value, ...pastedArray];
46-
}
47-
else {
45+
} else {
4846
this.value = pastedArray;
4947
}
5048
}

0 commit comments

Comments
 (0)