REFACTOR Removing unecessary conbsole log
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-09-30 10:20:03 +02:00
parent 0c1cd02f3b
commit fe71c18f59
4 changed files with 2 additions and 4 deletions

View File

@ -1 +1 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-rich-text'), 'version' => '730eb02204433aa7d29a'); <?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-rich-text'), 'version' => '8e32672f1170d7729a15');

View File

@ -221,7 +221,6 @@ const FootnoteFormatButton = props => {
} = props; } = props;
const [isPopoverOpen, setIsPopoverOpen] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.useState)(false); const [isPopoverOpen, setIsPopoverOpen] = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.useState)(false);
const activeFormat = (0,_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_1__.getActiveFormats)(value).filter(format => format.type === formatName)[0]; const activeFormat = (0,_wordpress_rich_text__WEBPACK_IMPORTED_MODULE_1__.getActiveFormats)(value).filter(format => format.type === formatName)[0];
console.log(activeFormat);
function handleFootnoteContentChange(value) { function handleFootnoteContentChange(value) {
setFormat(value); setFormat(value);
} }

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,6 @@ const FootnoteFormatButton = (props) => {
const [isPopoverOpen, setIsPopoverOpen] = useState(false); const [isPopoverOpen, setIsPopoverOpen] = useState(false);
const activeFormat = getActiveFormats(value).filter((format) => format.type === formatName)[0]; const activeFormat = getActiveFormats(value).filter((format) => format.type === formatName)[0];
console.log(activeFormat);
function handleFootnoteContentChange(value) { function handleFootnoteContentChange(value) {
setFormat(value); setFormat(value);