Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
arunshenoy99 committed Jan 30, 2024
1 parent eec8d29 commit 7ec7f78
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,14 @@ const SitegenEditorPatternsSidebar = () => {
newPreviewSettings.settings.color.palette =
data.color.palette;
let blockGrammar = '';
[ 'header', 'content', 'footer' ].forEach( ( part ) => {
[
'header',
'content',
'footer',
].forEach( ( part ) => {
if ( part in data ) {
blockGrammar += data[ part ];
blockGrammar +=
data[ part ];
}
} );
return (
Expand Down

0 comments on commit 7ec7f78

Please sign in to comment.