diff --git a/.changeset/pr-826-2137768494.md b/.changeset/pr-826-2137768494.md new file mode 100644 index 000000000..b29bc4fb7 --- /dev/null +++ b/.changeset/pr-826-2137768494.md @@ -0,0 +1,5 @@ + +--- +"fusion-project-portal": patch +--- +providing the right env key to appLoader 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 bf02c7a53..28d768041 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;