From c2b12dbd78a57ccb0f8a5f0dac89414129624032 Mon Sep 17 00:00:00 2001 From: Christopher Berge Hove Date: Tue, 22 Oct 2024 10:01:57 +0200 Subject: [PATCH] fix: providing the right enf key to appLoader --- client/packages/core/src/app/hooks/use-app-loader.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/packages/core/src/app/hooks/use-app-loader.ts b/client/packages/core/src/app/hooks/use-app-loader.ts index bf02c7a5..28d76804 100644 --- a/client/packages/core/src/app/hooks/use-app-loader.ts +++ b/client/packages/core/src/app/hooks/use-app-loader.ts @@ -52,7 +52,7 @@ export const useAppLoader = (appKey: string) => { ...config, environment: { appKey, - env: getFusionLegacyEnvIdentifier(), + fusionEnv: getFusionLegacyEnvIdentifier(), loadingText: 'Loading', endpoints: { client: getLegacyClientConfig(), @@ -63,7 +63,7 @@ export const useAppLoader = (appKey: string) => { } as AppConfig< ConfigEnvironment & { appKey: string; - env: string; + fusionEnv: string; loadingText: string; endpoints: { client: Client;