Skip to content

Commit

Permalink
fix: register runtime in SSR usage (#9013)
Browse files Browse the repository at this point in the history
  • Loading branch information
pskelin committed May 21, 2024
1 parent 69b8003 commit 54db283
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/base/src/Boot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ const boot = async (): Promise<void> => {
}

const bootExecutor = async (resolve: PromiseResolve) => {
registerCurrentRuntime();

if (typeof document === "undefined") {
resolve();
return;
}

attachThemeRegistered(onThemeRegistered);

registerCurrentRuntime();

const openUI5Support = getFeature<typeof OpenUI5Support>("OpenUI5Support");
const isOpenUI5Loaded = openUI5Support ? openUI5Support.isOpenUI5Detected() : false;
const f6Navigation = getFeature<typeof F6Navigation>("F6Navigation");
Expand Down

0 comments on commit 54db283

Please sign in to comment.