# SDK_REACT_PROVIDER_MISSING

- Surface: SDK

## Cause

A hook from `@splitch/sdk/react` rendered outside `SplitchProvider`.

## Fix

Wrap the component tree in `SplitchProvider` and pass the initialized browser client through its `client` prop.

## Related

- [SDK_NOT_INITIALIZED](https://splitch.dev/docs/error/SDK_NOT_INITIALIZED)

Source: https://splitch.dev/docs/error/SDK_REACT_PROVIDER_MISSING