Skip to content

Commit 5fba3a1

Browse files
committed
linter fix
1 parent 14e6677 commit 5fba3a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/multiple-select-vanilla/src/MultipleSelectInstance.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,7 @@ export class MultipleSelectInstance {
346346
this.elm.innerHTML = '';
347347
if (!this.data) return
348348
this.data.forEach((it: OptGroupRowData | OptionRowData) => {
349-
console.log({ it })
350-
if (it.type == 'optgroup') {
349+
if (it.type === 'optgroup') {
351350
const optgroup = document.createElement('optgroup');
352351
optgroup.label = it.label;
353352
(it as OptGroupRowData).children.forEach((opt: OptionRowData) => {

0 commit comments

Comments
 (0)