handling deprecation

This commit is contained in:
Antoine M 2024-04-02 16:39:52 +02:00
parent aa56bc7bc0
commit d019a60d50
4 changed files with 2 additions and 5 deletions

View File

@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '532929bbc982cc64e979');
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '6ca461874bc5f11cea56');

View File

@ -138,7 +138,6 @@ function Edit({
let {
textAlign
} = attributes;
console.log("attributes", attributes);
function onChangeTextAlignment(textAlign) {
setAttributes({
textAlign

File diff suppressed because one or more lines are too long

View File

@ -8,8 +8,6 @@ import { positionLeft, positionCenter, positionRight } from "@wordpress/icons";
export default function Edit({ attributes, setAttributes, clientId }) {
let { textAlign } = attributes;
console.log("attributes", attributes);
function onChangeTextAlignment(textAlign) {
setAttributes({ textAlign });
}