Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ahegyes committed Apr 13, 2024
1 parent 636b569 commit 942bf23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions blocks/src/foobar/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,12 @@ import './editor.scss';
*
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#edit
*
* @return {WPElement} Element to render.
* @return {Element} Element to render.
*/
export default function Edit() {
return (
<p { ...useBlockProps() }>
{ __(
'Todo List – hello from the editor!',
'wpcomsp-scaffold'
) }
{ __( 'Todo List – hello from the editor!', 'wpcomsp-scaffold' ) }
</p>
);
}
2 changes: 1 addition & 1 deletion blocks/src/foobar/save.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { useBlockProps } from '@wordpress/block-editor';
*
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#save
*
* @return {WPElement} Element to render.
* @return {Element} Element to render.
*/
export default function save() {
return (
Expand Down

0 comments on commit 942bf23

Please sign in to comment.