Skip to content

Commit

Permalink
docs: fix typos in README
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvxd committed Jul 5, 2023
1 parent b99de0d commit 82fb9a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const initialData = {};
const save = (data) => {};

// Render Puck editor
export function Page() {
export function Editor() {
return <Puck config={config} data={data} onPublish={save} />;
}
```
Expand All @@ -47,7 +47,7 @@ Render the page:

```jsx
// Page.jsx
import { Puck } from "puck";
import { Render } from "puck";

export function Page() {
return <Render config={config} data={data} />;
Expand Down

0 comments on commit 82fb9a5

Please sign in to comment.