Skip to content

Commit

Permalink
Remove linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
olafleur-godaddy committed Nov 4, 2021
1 parent ef5bc9a commit e59a113
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,16 @@
"@wordpress/jest-preset-default": "^7.1.2",
"@wordpress/jest-puppeteer-axe": "^3.1.0",
"@wordpress/keycodes": "^3.2.3",
"@wordpress/notices": "^3.2.5",
"@wordpress/plugins": "^4.0.4",
"@wordpress/postcss-themes": "^4.1.0",
"@wordpress/primitives": "^3.0.3",
"@wordpress/rich-text": "^5.0.4",
"@wordpress/scripts": "^19.0.0",
"@wordpress/server-side-render": "^3.0.4",
"@wordpress/token-list": "^2.2.1",
"@wordpress/url": "^3.2.3",
"@wordpress/viewport": "^4.0.4",
"autoprefixer": "^9.7.5",
"chalk": "^4.1.2",
"classnames": "^2.2.5",
Expand Down
18 changes: 9 additions & 9 deletions src/blocks/gallery-masonry/inspector.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Internal dependencies
*/
import captionOptions from '../../components/block-gallery/options/caption-options';
//import captionOptions from '../../components/block-gallery/options/caption-options';
import GalleryLinkSettings from '../../components/block-gallery/gallery-link-settings';
import SizeControl from '../../components/size-control';

Expand All @@ -25,13 +25,13 @@ const Inspector = ( props ) => {
} = props;

const {
captions,
captionStyle,
//captions,
//captionStyle,
gridSize,
gutterCustom,
gutter,
radius,
lightbox,
//gutterCustom,
//gutter,
//radius,
//lightbox,
} = attributes;

useEffect( () => {
Expand All @@ -46,15 +46,15 @@ const Inspector = ( props ) => {
setAttributes( { gridSize: value } );
};

const setCaptionStyleTo = ( value ) => {
/*const setCaptionStyleTo = ( value ) => {
setAttributes( { captionStyle: value } );
};
const getCaptionsHelp = ( checked ) => {
return checked
? __( 'Showing captions for each media item.', 'coblocks' )
: __( 'Toggle to show media captions.', 'coblocks' );
};
};*/

return (
<InspectorControls>
Expand Down

0 comments on commit e59a113

Please sign in to comment.