Skip to content

Commit

Permalink
Unset overrides store on offlineInit if enableOverrides is false
Browse files Browse the repository at this point in the history
  • Loading branch information
yfrancis committed Dec 21, 2024
1 parent 06234bb commit 418cc56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ export function offlineInit(config: IClientConfigSync): EppoClient {
);

EppoJSClient.instance.setOverridesStore(overridesStore);
} else {
EppoJSClient.instance.unsetOverridesStore();
}

// Allow the caller to override the default obfuscated mode, which is false
Expand Down

0 comments on commit 418cc56

Please sign in to comment.