handling deprecation
This commit is contained in:
parent
aa56bc7bc0
commit
d019a60d50
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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
|
|
@ -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 });
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user