Skip to content

Commit

Permalink
馃悰 fix the app instance count error (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuitos committed Apr 20, 2020
1 parent 6d90985 commit 07b519a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loader.ts
Expand Up @@ -153,7 +153,7 @@ export async function loadApp<T extends object>(
}

const appInstanceId = `${appName}_${
appInstanceCounts.hasOwnProperty(appName) ? (appInstanceCounts[appName] ?? 0) + 1 : ''
appInstanceCounts.hasOwnProperty(appName) ? (appInstanceCounts[appName] += 1) : (appInstanceCounts[appName] = 0)
}`;

const strictStyleIsolation = typeof sandbox === 'object' && !!sandbox.strictStyleIsolation;
Expand Down

1 comment on commit 07b519a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for website ready!

Built with commit 07b519a

https://https://qiankun-6rozmx18r.now.sh

Please sign in to comment.