Skip to content

Commit

Permalink
fix: miniapp unmount (#2006)
Browse files Browse the repository at this point in the history
  • Loading branch information
SoloJiang authored Sep 2, 2020
1 parent f3ead1d commit d0404a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/rax-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rax-app",
"version": "2.3.3",
"version": "2.3.4",
"description": "Rax application framework for univesal app.",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/rax-app/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function mount(appInstance, rootEl) {
}

function unmount() {
app._internal.unmountComponent.bind(app._internal);
return app._internal.unmountComponent.bind(app._internal);
}

const {
Expand Down

0 comments on commit d0404a0

Please sign in to comment.