REFACTOR Removinf unecessary console.log
This commit is contained in:
parent
2659311e7a
commit
106c9adcbe
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n', 'wp-primitives'), 'version' => 'f9b21b66fbfc32799aca');
|
||||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n', 'wp-primitives'), 'version' => '2721f0bd0927b41830cc');
|
||||
|
|
|
|||
|
|
@ -124,7 +124,6 @@ function Edit({
|
|||
blackWhiteCoverFilter
|
||||
} = attributes;
|
||||
const colors = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useSetting)("color.palette.theme");
|
||||
console.log(blackWhiteCoverFilter);
|
||||
function setCoverAttributes(cover) {
|
||||
setAttributes({
|
||||
coverId: cover.id,
|
||||
|
|
@ -194,7 +193,6 @@ function Edit({
|
|||
isBlock: true,
|
||||
label: "Filtre",
|
||||
onChange: value => {
|
||||
console.log(value);
|
||||
setAttributes({
|
||||
blackWhiteCoverFilter: value === "true"
|
||||
});
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -30,7 +30,6 @@ export default function Edit({ attributes, setAttributes }) {
|
|||
blackWhiteCoverFilter,
|
||||
} = attributes;
|
||||
const colors = useSetting("color.palette.theme");
|
||||
console.log(blackWhiteCoverFilter);
|
||||
|
||||
function setCoverAttributes(cover) {
|
||||
setAttributes({
|
||||
|
|
@ -107,7 +106,6 @@ export default function Edit({ attributes, setAttributes }) {
|
|||
isBlock
|
||||
label="Filtre"
|
||||
onChange={(value) => {
|
||||
console.log(value);
|
||||
setAttributes({ blackWhiteCoverFilter: value === "true" });
|
||||
}}
|
||||
value={blackWhiteCoverFilter ? "true" : "false"}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user