Skip to content

Commit bc48f2a

Browse files
committed
chore: disable warning for useEffect dependencies
1 parent cb1bc5c commit bc48f2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/path/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export const CodePath: FC = () => {
5959

6060
useEffect(() => {
6161
fetchCodePath();
62+
// eslint-disable-next-line react-hooks/exhaustive-deps -- we want to fetch code path once on mount, afterwards the "useDebouncedEffect" takes over
6263
}, []);
6364

6465
useDebouncedEffect(

0 commit comments

Comments
 (0)