We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cf7f09 commit 205bd4eCopy full SHA for 205bd4e
packages/devtools-kit/src/core/component/state/process.ts
@@ -63,7 +63,7 @@ function processProps(instance: VueAppInstance) {
63
const props: InspectorState[] = []
64
const propDefinitions = instance?.type?.props
65
66
- for (const key in instance.props) {
+ for (const key in instance?.props) {
67
const propDefinition = propDefinitions ? propDefinitions[key] : null
68
const camelizeKey = camelize(key)
69
props.push({
@@ -96,7 +96,7 @@ function processProps(instance: VueAppInstance) {
96
*/
97
function processState(instance: VueAppInstance) {
98
const type = instance.type
99
- const props = type.props
+ const props = type?.props
100
const getters
101
= type.vuex
102
&& type.vuex.getters
0 commit comments