@@ -284,18 +284,14 @@ export const EditorCollaborationProvider: React.FC<{
284284 // YJS Initialization
285285 const initializeYJS = ( roomId : string ) => {
286286 cleanupYJS ( ) ;
287- console . log ( "Initializing YJS with room ID:" , roomId ) ;
288-
289287 const newDoc = new Y . Doc ( ) ;
290- console . log ( WS_URL , roomId ) ;
291288
292289 const newProvider = new WebsocketProvider ( WS_URL , roomId , newDoc ) ;
293290 const newFileSystemMap : Y . Map < FileNode [ ] > = newDoc . getMap ( "fileSystem" ) ;
294291 const newChatArray : Y . Array < Message > = newDoc . getArray ( "chat" ) ;
295292
296293 docRef . current = newDoc ;
297294 providerRef . current = newProvider ;
298- console . log ( "YJS provider status:" , newProvider ) ;
299295
300296 setAwareness ( newProvider . awareness ) ;
301297 setFileSystemMap ( newFileSystemMap ) ;
@@ -329,8 +325,6 @@ export const EditorCollaborationProvider: React.FC<{
329325 newProvider . ws ?. addEventListener ( "message" , ( event : MessageEvent ) => {
330326 try {
331327 const data = JSON . parse ( event . data ) ;
332- console . log ( data ) ;
333-
334328 if ( data . type === "versioning-event" ) {
335329 const { command, status } = data ;
336330
@@ -388,7 +382,6 @@ export const EditorCollaborationProvider: React.FC<{
388382 console . log ( "Setting up user awareness" ) ;
389383
390384 if ( AuthSession ?. user ) {
391- console . log ( "User found:" , AuthSession . user ) ;
392385 const user = AuthSession . user ;
393386 newProvider . awareness . setLocalStateField ( "user" , {
394387 name : user . user_metadata . full_name || user . email ,
@@ -1038,8 +1031,6 @@ export const EditorCollaborationProvider: React.FC<{
10381031 githubAccessToken : githubAccessToken || null ,
10391032 } ;
10401033
1041- console . log ( payload ) ;
1042-
10431034 const response = await fetch (
10441035 `${ CODESPACE_API_URL } /${ codespace . id } /github-details` ,
10451036 {
0 commit comments