Skip to content

Commit ba8d1ae

Browse files
docs: fix comment in README for Hook’s after method (open-feature#1102)
## This PR - Fixes incorrect comment in the README for the Hook implementation's `after` method. Signed-off-by: Christian Llontop <[email protected]> Co-authored-by: Todd Baert <[email protected]>
1 parent 16321c3 commit ba8d1ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/web/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ import type { Hook, HookContext, EvaluationDetails, FlagValue } from "@openfeatu
379379

380380
export class MyHook implements Hook {
381381
after(hookContext: HookContext, evaluationDetails: EvaluationDetails<FlagValue>) {
382-
// code that runs when there's an error during a flag evaluation
382+
// code that runs after flag values are successfully resolved from the provider
383383
}
384384
}
385385
```

0 commit comments

Comments
 (0)