Skip to content

Commit 71e81ae

Browse files
committed
fix eslint
1 parent db60db5 commit 71e81ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/src/components/MatchingService/MatchingForm.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ const MatchingForm = React.forwardRef(function MatchingForm() {
129129
return () => {
130130
socket.off("matchFound");
131131
};
132-
}, [difficulty, category, userEmail, navigate, getQuestions]);
132+
// eslint-disable-next-line react-hooks/exhaustive-deps
133+
}, [difficulty, category, userEmail, navigate]);
133134

134135
return (
135136
<Box sx={style}>

0 commit comments

Comments
 (0)