Skip to content

Commit

Permalink
Update packages/react/src/index.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Nicklas Lundin <[email protected]>
  • Loading branch information
nickybondarenko and nicklasl authored Aug 14, 2024
1 parent 98f17dc commit a77aeaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class ConfidenceReact implements EventSender, Trackable, FlagResolver {
this.assertContext('useEvaluateFlag', 'evaluateFlag');
return useEvaluateFlag(path, defaultValue, this);
}
/** Uses Flag */
/** Hook to use getFlag functionality */
useFlag<T extends Value>(path: string, defaultValue: T): Value.Widen<T> {
this.assertContext('useFlag', 'getFlag');
return useFlag(path, defaultValue, this);
Expand Down

0 comments on commit a77aeaf

Please sign in to comment.