Skip to content

Commit e8958d7

Browse files
committed
undo suspending
Signed-off-by: Will Chou <[email protected]>
1 parent b99e0d9 commit e8958d7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/react/src/provider/use-open-feature-client-status.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,7 @@ export function useOpenFeatureClientStatus(options?: Options) {
3333
client.removeHandler(ProviderEvents.Reconciling, updateStatus);
3434
};
3535
}, [client]);
36-
// highest priority > evaluation hook options > provider options > default options > lowest priority
37-
const defaultedOptions = { ...DEFAULT_OPTIONS, ...useProviderOptions(), ...normalizeOptions(options) };
3836

39-
if (defaultedOptions.suspendUntilReady && status === ProviderStatus.NOT_READY) {
40-
suspendUntilReady(client);
41-
}
4237

4338
return status;
4439
}

0 commit comments

Comments
 (0)