Skip to content

Commit 866769c

Browse files
committed
minor: fix eslint errors in most recent update
1 parent 5267120 commit 866769c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/SelectDropdown/SelectDropdown.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useCallback, useEffect, useRef, useState } from 'react';
1+
import { useEffect, useRef, useState } from 'react';
22
import './SelectDropdown.scss';
33

44
export type TOptionType = { value: string; label: string };
@@ -41,6 +41,7 @@ const SelectDropdown = ({
4141
return () => {
4242
document.removeEventListener('mousedown', handleClickOutside);
4343
};
44+
// eslint-disable-next-line react-hooks/exhaustive-deps
4445
}, []);
4546

4647
useEffect(() => {
@@ -49,6 +50,7 @@ const SelectDropdown = ({
4950
if (typeof changeCallback === 'function') {
5051
changeCallback(selected);
5152
}
53+
// eslint-disable-next-line react-hooks/exhaustive-deps
5254
}, [selected]);
5355

5456
return (

0 commit comments

Comments
 (0)