Skip to content

Commit 29d89fd

Browse files
committed
Update question title save for history
1 parent 67824d9 commit 29d89fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Frontend/src/components/collab/CollaborationSpace.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ const CollaborationSpace = () => {
194194
const sessionData = {
195195
user: userId,
196196
matchedUsername: matchedUser, // Assuming user[1] is the matched user
197-
questionTitle: 'BFS', // This ID should be available in context or passed down
197+
questionTitle: question.title, // This ID should be available in context or passed down
198198
// questionTitle: questionTitle, // This ID should be available in context or passed down
199199
// startTime: roomCreationTime,
200200
// startTime: new Date(),

0 commit comments

Comments
 (0)