Skip to content

Commit 5199f9a

Browse files
author
Kubit
committed
Fix eslint errors
1 parent 51d416a commit 5199f9a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/components/pillSelector/pillSelectorStandAlone.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,9 @@ const PillSelectorStandAloneComponent = (
3333

3434
const isPillSelected = props.pillSelected?.length !== 0;
3535

36-
React.useImperativeHandle(
37-
ref,
38-
() => {
39-
return listEl.current as HTMLDivElement;
40-
},
41-
[]
42-
);
36+
React.useImperativeHandle(ref, () => {
37+
return listEl.current as HTMLDivElement;
38+
}, []);
4339

4440
return (
4541
<PillSelectorWrapper

0 commit comments

Comments
 (0)