Skip to content

Commit a6662fa

Browse files
committed
Fix infinite recursion
1 parent e9875a5 commit a6662fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Questions/QuestionsTable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ const InterviewQuestionsTable: React.FC = () => {
2525
async function getInterviewQuestions() {
2626
await getQuestions();
2727
}
28-
2928
getInterviewQuestions();
30-
}, [getQuestions]);
29+
console.log("here");
30+
}, []);
3131

3232
useEffect(() => {
3333
setQuestions(questions);

0 commit comments

Comments
 (0)