Skip to content

Commit

Permalink
fix(to-vue-3): provide when used in app root
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Nov 25, 2020
1 parent f31e1fb commit e049389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/to-vue-3.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const vue3WrapperBase = {

this.v2 = new Vue({
provide() {
return new Proxy(vm._.parent.provides, {
return new Proxy(vm._.provides, {
getOwnPropertyDescriptor(target, key) {
if (key in target) {
return isConfigurableProperty;
Expand Down

0 comments on commit e049389

Please sign in to comment.