Skip to content

Commit

Permalink
Merge pull request #686 from plone/danalvrz-patch-1
Browse files Browse the repository at this point in the history
Update 04-block-edit-options.md
  • Loading branch information
stevepiercy authored Nov 19, 2022
2 parents 1109963 + cc77c54 commit 527c3da
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/voltoaddons/04-block-edit-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,7 @@ const DataTableView = ({ file_data, data }) => {
);
};
export default withFileData(({ data: { file_path } }) => file_path?.[0])(
DataTableView
);
export default withFileData(DataTableView);
```
Here's how your block would look like:
Expand Down

0 comments on commit 527c3da

Please sign in to comment.