Skip to content

Commit

Permalink
🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
kuitos committed Mar 29, 2020
1 parent af0304f commit 796870b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ export function registerMicroApps<T extends object = {}>(apps: Array<Registrable
let mountSandbox = () => Promise.resolve();
let unmountSandbox = () => Promise.resolve();
if (useJsSandbox) {
const { fetch } = settings || {};
const sandbox = genSandbox(appName, { fetch });
const sandbox = genSandbox(appName);
jsSandbox = sandbox.sandbox;
mountSandbox = sandbox.mount;
unmountSandbox = sandbox.unmount;
Expand Down

0 comments on commit 796870b

Please sign in to comment.