Skip to content

Commit

Permalink
eslinted
Browse files Browse the repository at this point in the history
  • Loading branch information
Fellan-91 committed Feb 6, 2024
1 parent 5893099 commit 6d939a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions gutenberg/blocks/countdown/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ import { _n } from '@wordpress/i18n';
* Thanks https://github.com/mckamey/countdownjs/.
*
* @public
* @param {function(Object)|Date|number} start the starting date
* @param {function(Object)|Date|number} end the ending date
* @param {number} units the units to populate
* @param {number} units the units to populate
*
* @return {Object|number}
*/
Expand Down
2 changes: 2 additions & 0 deletions gutenberg/extend/styles/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ function CustomStylesComponent(props) {
setAttributes(newAttrs);
}
},
// eslint-disable-next-line react-hooks/exhaustive-deps
[blockSettings, attributes, ghostkit, props, className, setAttributes]
);

Expand All @@ -301,6 +302,7 @@ function CustomStylesComponent(props) {

onUpdate(true);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [attributes]);

let styles = '';
Expand Down
1 change: 0 additions & 1 deletion gutenberg/hooks/use-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export default function useStyles(props) {
* @param newStyles
* @param {string} device - responsive device.
* @param {string} selector - optional custom selector.
*
*/
function setStyles(newStyles, device = false, selector = false) {
const clonedGhostkitData = cloneDeep(ghostkitData);
Expand Down

0 comments on commit 6d939a2

Please sign in to comment.