Skip to content

Commit

Permalink
docs: fix typo in Actions docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvxd committed Dec 11, 2023
1 parent c1519d4 commit d7c97b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/docs/pages/docs/api-reference/actions.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Actions

Actions enable you to make changes to the internal [AppState](/docs/api-reference/app-state) via the a dispatcher.
Actions enable you to make changes to the internal [AppState](/docs/api-reference/app-state) via the [dispatcher](/docs/api-reference/functions/use-puck#dispatch).

This is a partial reference of the most useful actions. A full reference is available in [the codebase](https://github.com/measuredco/puck/blob/main/packages/core/reducer/actions.tsx).

Expand Down Expand Up @@ -58,6 +58,6 @@ Change the entire [AppState](/docs/api-reference/app-state) in a single action.
```tsx
dispatch({
type: "set",
data: { data: {}, ui: {} },
state: { data: {}, ui: {} },
});
```

0 comments on commit d7c97b6

Please sign in to comment.