File tree Expand file tree Collapse file tree 3 files changed +0
-3
lines changed
packages/applet/src/modules
custom-inspector/components/state Expand file tree Collapse file tree 3 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,6 @@ function onInspectorStateUpdated(_data: string) {
153
153
const { inspectorId : _inspectorId, ... filtered } = data .state
154
154
155
155
state .value = filterEmptyState (filtered as any )
156
- // expandedStateNodes.value = Array.from({ length: Object.keys(state.value).length }, (_, i) => `${i}`)
157
156
}
158
157
159
158
onRpcConnected (() => {
Original file line number Diff line number Diff line change @@ -131,7 +131,6 @@ function onInspectorStateUpdated(_data: string) {
131
131
state: _state .state ,
132
132
getters: _state .getters ,
133
133
})
134
- expandedStateNodes .value = Array .from ({ length: Object .keys (state .value ).length }, (_ , i ) => ` ${i } ` )
135
134
}
136
135
137
136
rpc .functions .on (DevToolsMessagingEvents .INSPECTOR_TREE_UPDATED , onInspectorTreeUpdated )
Original file line number Diff line number Diff line change @@ -127,7 +127,6 @@ function onInspectorStateUpdated(_data: string) {
127
127
128
128
// @ts-expect-error skip type check
129
129
state .value = filterEmptyState (_state ! )
130
- expandedStateNodes .value = Array .from ({ length: Object .keys (state .value ).length }, (_ , i ) => ` ${i } ` )
131
130
}
132
131
133
132
rpc .functions .on (DevToolsMessagingEvents .INSPECTOR_TREE_UPDATED , onInspectorTreeUpdated )
You can’t perform that action at this time.
0 commit comments