handling attributes destructuring
This commit is contained in:
parent
defd923c48
commit
247030a14a
|
|
@ -1,6 +1,6 @@
|
|||
import { useBlockProps } from "@wordpress/block-editor";
|
||||
|
||||
export default function save() {
|
||||
export default function save({ attributes }) {
|
||||
return (
|
||||
<p
|
||||
{...useBlockProps.save({
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user