Skip to content

Commit 3515331

Browse files
committed
fix: duplicate call setGlobalFederationInstance
1 parent 5f18bc2 commit 3515331

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/runtime/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export function init(options: UserOptions): ModuleFederation {
4444
const instance = getGlobalFederationInstance(options.name, options.version);
4545
if (!instance) {
4646
FederationInstance = createInstance(options);
47-
setGlobalFederationInstance(FederationInstance);
4847
return FederationInstance;
4948
} else {
5049
// Merge options

0 commit comments

Comments
 (0)