Skip to content

Commit

Permalink
JS Lint fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauteri committed Dec 15, 2024
1 parent 07b5fa9 commit 089ab28
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/blocks/rsvp-v2/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,7 @@ const Edit = ({ attributes, setAttributes, clientId }) => {
state
];
if (savedBlocks && savedBlocks.length > 0) {
replaceInnerBlocks(
clientId,
parse(savedBlocks, {})
);
replaceInnerBlocks(clientId, parse(savedBlocks, {}));
}
},
[clientId, replaceInnerBlocks, serializedInnerBlocks]
Expand Down Expand Up @@ -124,7 +121,8 @@ const Edit = ({ attributes, setAttributes, clientId }) => {
if (templateKey !== selectedStatus) {
const blocks = templateToBlocks(TEMPLATES[templateKey]);

updatedSerializedBlocks[templateKey] = serialize(blocks);
updatedSerializedBlocks[templateKey] =
serialize(blocks);
}

return updatedSerializedBlocks;
Expand Down

0 comments on commit 089ab28

Please sign in to comment.