File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ export async function registerPreview(
1313
1414 if ( ! client ) {
1515 pendingRegistrations . push ( { name, component } ) ;
16- console . log ( `Preview "${ name } " queued for registration` ) ;
1716 return ;
1817 }
1918
Original file line number Diff line number Diff line change @@ -39,16 +39,13 @@ function processPendingRegistrations() {
3939async function setupPlugin ( ) {
4040 const existingClient = await getClient ( ) ;
4141
42- console . log ( "Setting up preview plugin" , existingClient ) ;
43-
4442 client = existingClient ;
4543
4644 processPendingRegistrations ( ) ;
4745
4846 existingClient . onMessage ( "request-initial-data" , ( ) => {
4947 const previews = getPreviewComponents ( ) ;
5048 existingClient . send ( "preview-list" , previews ) ;
51- console . log ( "Initial preview data sent:" , previews ) ;
5249 } ) ;
5350}
5451
You can’t perform that action at this time.
0 commit comments