Skip to content

Commit

Permalink
refactor(project): fix incorrect store update
Browse files Browse the repository at this point in the history
  • Loading branch information
royschut committed Sep 10, 2024
1 parent 50c0ada commit 353123c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/src/controllers/AppController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default class AppController {
}

// Store the logo right away and set css variables so the error page will be branded
useConfigStore.setState((state) => merge({}, state, { assets: { banner: config.assets.banner } }));
useConfigStore.setState((state) => merge({}, state, { config: { assets: { banner: config.assets.banner } } }));

config = await this.configService.validateConfig(config);
config = merge({}, defaultConfig, config);
Expand Down

0 comments on commit 353123c

Please sign in to comment.