From 2b5a6257f5bc9bf4ed5bc1889c5dacaa9f1c1640 Mon Sep 17 00:00:00 2001 From: Srijit <89468732+DevSrijit@users.noreply.github.com> Date: Sat, 3 Aug 2024 21:45:02 +0530 Subject: [PATCH] Update CollaborativeRoom.tsx to change 'disable' to 'disabled' property on Component --- components/CollaborativeRoom.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/CollaborativeRoom.tsx b/components/CollaborativeRoom.tsx index e77f3a2..be560e2 100644 --- a/components/CollaborativeRoom.tsx +++ b/components/CollaborativeRoom.tsx @@ -76,7 +76,7 @@ const CollaborativeRoom = ({ roomId, roomMetadata, users, currentUserType }: Col placeholder="Enter title" onChange={(e) => setDocumentTitle(e.target.value)} onKeyDown={updateTitleHandler} - disable={!editing} + disabled={!editing} className="document-title-input" /> ) : ( @@ -127,4 +127,4 @@ const CollaborativeRoom = ({ roomId, roomMetadata, users, currentUserType }: Col ) } -export default CollaborativeRoom \ No newline at end of file +export default CollaborativeRoom