Skip to content

Commit 67215e2

Browse files
authored
docs: change variable name in getComponentName code snippet (#2121)
1 parent 417e5ef commit 67215e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/src/plugin/api-reference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ api.on.inspectComponent(async payload => {
713713
payload.instanceData.state.push({
714714
type: stateType,
715715
key: 'component name',
716-
value: name
716+
value: componentName
717717
})
718718
}
719719
})

0 commit comments

Comments
 (0)