Skip to content

Commit

Permalink
Fix frontend to set question id in colab
Browse files Browse the repository at this point in the history
  • Loading branch information
gycgabriel committed Oct 31, 2023
1 parent 58a66cc commit 2905fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/hooks/useCollaboration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const useCollaboration = ({
});
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [roomId, userId]);
}, [roomId, userId, questionId]);

useEffect(() => {
textRef.current = text;
Expand Down

0 comments on commit 2905fba

Please sign in to comment.