@@ -86,7 +86,7 @@ export function createComponentsDevToolsPlugin(app: App): [PluginDescriptor, Plu
8686 api . sendInspectorState ( INSPECTOR_ID )
8787 } , 120 )
8888
89- const componentAddedCleanup = hook . on . componentAdded ( async ( app , uid , parentUid , component ) => {
89+ hook . on . componentAdded ( async ( app , uid , parentUid , component ) => {
9090 if ( devtoolsState . highPerfModeEnabled )
9191 return
9292
@@ -121,7 +121,7 @@ export function createComponentsDevToolsPlugin(app: App): [PluginDescriptor, Plu
121121 debounceSendInspectorTree ( )
122122 } )
123123
124- const componentUpdatedCleanup = hook . on . componentUpdated ( async ( app , uid , parentUid , component ) => {
124+ hook . on . componentUpdated ( async ( app , uid , parentUid , component ) => {
125125 if ( devtoolsState . highPerfModeEnabled )
126126 return
127127
@@ -156,7 +156,7 @@ export function createComponentsDevToolsPlugin(app: App): [PluginDescriptor, Plu
156156 debounceSendInspectorTree ( )
157157 debounceSendInspectorState ( )
158158 } )
159- const componentRemovedCleanup = hook . on . componentRemoved ( async ( app , uid , parentUid , component ) => {
159+ hook . on . componentRemoved ( async ( app , uid , parentUid , component ) => {
160160 if ( devtoolsState . highPerfModeEnabled )
161161 return
162162
0 commit comments