diff --git a/packages/react/src/provider/index.ts b/packages/react/src/provider/index.ts index 5d29f9cd3..34a77b53d 100644 --- a/packages/react/src/provider/index.ts +++ b/packages/react/src/provider/index.ts @@ -1,4 +1,5 @@ export * from './provider'; export * from './use-open-feature-client'; export * from './use-when-provider-ready'; +export * from './use-open-feature-client-status'; export * from './test-provider'; diff --git a/packages/react/src/provider/use-open-feature-client-status.ts b/packages/react/src/provider/use-open-feature-client-status.ts index 2539f792f..fac4a42b7 100644 --- a/packages/react/src/provider/use-open-feature-client-status.ts +++ b/packages/react/src/provider/use-open-feature-client-status.ts @@ -9,7 +9,7 @@ import { ProviderEvents } from '@openfeature/web-sdk'; */ export function useOpenFeatureClientStatus(): ProviderStatus { const client = useOpenFeatureClient(); - const [status, setStatus] = useState(client.providerStatus); + const [status, setStatus] = useState(client.providerStatus); useEffect(() => { const updateStatus = () => setStatus(client.providerStatus);