Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarajohn committed Mar 13, 2024
1 parent a841468 commit 8d0d975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Error: useCustomContext must be used within a CustomContextProvider
_Description:</br> Accepts a **dispatch method** generated from a `useReducer` hook.<br />It will return an optimized and guarded dispatch callback which will be invoked only when the component is mounted._

```typescript jsx
import { useSafeDispatch } from '@orfium/cmo-client-utils';
import { useSafeDispatch } from '@orfium/toolbox';

type State = Record<string, string> | null;
type Action = { type: string; payload: boolean };
Expand Down

0 comments on commit 8d0d975

Please sign in to comment.