From a3a1d3b78a1e5adff613f8a8dce4cffeaaa713e7 Mon Sep 17 00:00:00 2001 From: Joel Chen Date: Mon, 20 Jan 2020 23:39:30 -0800 Subject: [PATCH] fix function call --- packages/subapp-web/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/subapp-web/src/index.js b/packages/subapp-web/src/index.js index 723fa08f6..9c97c249f 100644 --- a/packages/subapp-web/src/index.js +++ b/packages/subapp-web/src/index.js @@ -133,7 +133,7 @@ export function getBrowserHistory() { export function hotReloadSubApp(info) { info = info.default || info; // check for es6 module - const subApp = xarc.getSubApp[info.name]; + const subApp = xarc.getSubApp(info.name); subApp.info = info; subApp._started.forEach(instance => setTimeout(() => subApp.start(instance), 0)); }