From 29d89fdfae9e3e1614edc264a656b69db33a641f Mon Sep 17 00:00:00 2001 From: ketamethane Date: Wed, 13 Nov 2024 23:48:43 +0800 Subject: [PATCH] Update question title save for history --- Frontend/src/components/collab/CollaborationSpace.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frontend/src/components/collab/CollaborationSpace.jsx b/Frontend/src/components/collab/CollaborationSpace.jsx index 0b704ddac0..728e6033a2 100644 --- a/Frontend/src/components/collab/CollaborationSpace.jsx +++ b/Frontend/src/components/collab/CollaborationSpace.jsx @@ -194,7 +194,7 @@ const CollaborationSpace = () => { const sessionData = { user: userId, matchedUsername: matchedUser, // Assuming user[1] is the matched user - questionTitle: 'BFS', // This ID should be available in context or passed down + questionTitle: question.title, // This ID should be available in context or passed down // questionTitle: questionTitle, // This ID should be available in context or passed down // startTime: roomCreationTime, // startTime: new Date(),