Skip to content

Commit

Permalink
fix(devtools): display warning if not opened as microfrontend
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwiehl authored and Marcarrian committed Oct 26, 2023
1 parent f0db0f9 commit 6b0facf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ function connectToHostFn(): () => Promise<void> {
const zone = inject(NgZone);
return (): Promise<void> => {
Beans.register(ObservableDecorator, {useValue: new NgZoneObservableDecorator(zone)});
return zone.runOutsideAngular(() => MicrofrontendPlatformClient.connect(environment.symbolicName).catch());
return zone.runOutsideAngular(() => MicrofrontendPlatformClient.connect(environment.symbolicName).catch(noop));
};
}

0 comments on commit 6b0facf

Please sign in to comment.