Skip to content

Commit

Permalink
fix: providing the right enf key to appLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggling committed Oct 22, 2024
1 parent 19f98d8 commit c2b12db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/packages/core/src/app/hooks/use-app-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const useAppLoader = (appKey: string) => {
...config,
environment: {
appKey,
env: getFusionLegacyEnvIdentifier(),
fusionEnv: getFusionLegacyEnvIdentifier(),
loadingText: 'Loading',
endpoints: {
client: getLegacyClientConfig(),
Expand All @@ -63,7 +63,7 @@ export const useAppLoader = (appKey: string) => {
} as AppConfig<
ConfigEnvironment & {
appKey: string;
env: string;
fusionEnv: string;
loadingText: string;
endpoints: {
client: Client;
Expand Down

0 comments on commit c2b12db

Please sign in to comment.