diff --git a/app/store/access.ts b/app/store/access.ts index 3703978fb..9251b016b 100644 --- a/app/store/access.ts +++ b/app/store/access.ts @@ -288,7 +288,11 @@ export const useAccessStore = createPersistStore( return res; }) - + .then((res: DangerConfig) => { + console.log("[Config] got config from server", res); + set(() => ({ ...res })); + return res; + }) .then((res: Partial) => { console.log("[Config] got config from server", res); // Encrypt Bedrock-related sensitive data before storing