Closed gino0o0o closed 9 months ago
fix(docs): change variable name in getComponentName code snippet
Change the variable name name to componentName in the getComponentName code snippet.
name
componentName
getComponentName
In the getComponentName documentation, change the name of the variable
api.on.inspectComponent(async payload => { if (payload.instanceData) { const componentName = await api.getComponentName(payload.componentInstance) payload.instanceData.state.push({ type: stateType, key: 'component name', value: name -------> changed to componentName }) } })
fixes #123
fix(docs): change variable name in getComponentName code snippet
Change the variable name
name
tocomponentName
in thegetComponentName
code snippet.Description
In the getComponentName documentation, change the name of the variable
Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).