Skip to content

Commit bea2318

Browse files
committed
fix type error
1 parent 3c2480a commit bea2318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { ProviderEvents, type ProviderStatus, } from '@openfeature/web-sdk';
1010
*/
1111
export function useOpenFeatureClientStatus() {
1212
const client = useOpenFeatureClient();
13-
const [status, setStatus] = useState<typeof ProviderStatus>(client.providerStatus);
13+
const [status, setStatus] = useState<ProviderStatus>(client.providerStatus);
1414

1515
useEffect(() => {
1616
const updateStatus = () => setStatus(client.providerStatus);

0 commit comments

Comments
 (0)