Skip to content

Commit

Permalink
Merge branch 'breaking_changes_baseline' into issue_198_factory_avail…
Browse files Browse the repository at this point in the history
…able_in_initial_render
  • Loading branch information
EmilianoSanchez committed Oct 24, 2024
2 parents e1bad0a + c33577f commit 2cbc1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SplitTreatments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { useSplitTreatments } from './useSplitTreatments';
export function SplitTreatments(props: ISplitTreatmentsProps) {
const { children } = props;
// SplitTreatments doesn't update on SDK events, since it is inside SplitFactory and/or SplitClient.
const context = useSplitTreatments({ updateOnSdkReady: false, updateOnSdkTimedout: false, ...props });
const context = useSplitTreatments({ ...props, updateOnSdkReady: false, updateOnSdkReadyFromCache: false });

return (
<SplitContext.Provider value={context}>
Expand Down

0 comments on commit 2cbc1d0

Please sign in to comment.