Skip to content

Commit

Permalink
Change code style to remove loader dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jprodrigues70 committed Oct 20, 2020
1 parent 98269ce commit 80ac345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/mount-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const mount = (component, { props, children, element, app } = {}) => {
let el = element ? element : createElement()

let vNode = h(component, props, children)
if (app?._context) {
if (app && app._context) {
vNode.appContext = app._context
}

Expand Down

0 comments on commit 80ac345

Please sign in to comment.