removing unecessary console log

This commit is contained in:
Antoine M 2023-12-07 11:05:49 +01:00
parent e10f38f30b
commit 73761ab9d2
4 changed files with 4 additions and 2 deletions

View File

@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '036ee79fd5df1d4d3d84'); <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '4d48acb9717b060f5b98');

View File

@ -189,6 +189,7 @@ function Edit({
} }
} }
}, [currentPost, currentBlocks]); }, [currentPost, currentBlocks]);
console.log((0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("bonjour", "homegrade-blocks"));
return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("section", { return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("section", {
...(0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.useBlockProps)({ ...(0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.useBlockProps)({
className: `homegrade-blocks-vocabulaire-summary` className: `homegrade-blocks-vocabulaire-summary`

File diff suppressed because one or more lines are too long

View File

@ -160,6 +160,7 @@ export default function Edit({ attributes, setAttributes }) {
} }
}, [currentPost, currentBlocks]); }, [currentPost, currentBlocks]);
console.log(__("bonjour", "homegrade-blocks"));
return ( return (
<section <section
{...useBlockProps({ {...useBlockProps({