handling attributes destructuring

This commit is contained in:
Antoine M 2023-11-08 14:00:16 +01:00
parent defd923c48
commit 247030a14a

View File

@ -1,6 +1,6 @@
import { useBlockProps } from "@wordpress/block-editor"; import { useBlockProps } from "@wordpress/block-editor";
export default function save() { export default function save({ attributes }) {
return ( return (
<p <p
{...useBlockProps.save({ {...useBlockProps.save({