Skip to content

Commit d81d1fd

Browse files
authored
Update useLDClient.ts (#96)
Co-authored-by: Yusinto Ngadiman <[email protected]>
1 parent 094221e commit d81d1fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/useLDClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import context from './context';
33

44
// tslint:disable:max-line-length
55
/**
6-
* `useLDClient` is a custom hook which returns the underlying [LaunchDarkly JavaScript SDK client object](https://launchdarkly.github.io/js-client-sdk/interfaces/_launchdarkly_js_client_sdk_.ldclient.html).
6+
* `useLDClient` is a custom hook which returns the underlying [LaunchDarkly JavaScript SDK client object](https://launchdarkly.github.io/js-client-sdk/interfaces/LDClient.html).
77
* Like the `useFlags` custom hook, `useLDClient` also uses the `useContext` primitive to access the LaunchDarkly
88
* context set up by `withLDProvider`. You will still need to use the `withLDProvider` HOC
99
* to initialise the react sdk to use this custom hook.

0 commit comments

Comments
 (0)