Skip to content

Commit 2cbc1d0

Browse files
Merge branch 'breaking_changes_baseline' into issue_198_factory_available_in_initial_render
2 parents e1bad0a + c33577f commit 2cbc1d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SplitTreatments.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { useSplitTreatments } from './useSplitTreatments';
1414
export function SplitTreatments(props: ISplitTreatmentsProps) {
1515
const { children } = props;
1616
// SplitTreatments doesn't update on SDK events, since it is inside SplitFactory and/or SplitClient.
17-
const context = useSplitTreatments({ updateOnSdkReady: false, updateOnSdkTimedout: false, ...props });
17+
const context = useSplitTreatments({ ...props, updateOnSdkReady: false, updateOnSdkReadyFromCache: false });
1818

1919
return (
2020
<SplitContext.Provider value={context}>

0 commit comments

Comments
 (0)