REFACTOR Removing unecessary conbsole log
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0c1cd02f3b
commit
fe71c18f59
|
|
@ -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');
|
||||||
|
|
|
||||||
|
|
@ -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
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user