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