Skip to content

Commit

Permalink
fix: removed cloneBlock from utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Wagner3UB committed Oct 17, 2024
1 parent a0fbbf8 commit 74a652d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/config/Blocks/ListingOptions/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export {
addSchemaField,
templatesOptions,
cloneBlock,
} from 'design-comuni-plone-theme/config/Blocks/ListingOptions/utils';
export addDefaultOptions from 'design-comuni-plone-theme/config/Blocks/ListingOptions/defaultOptions';
export addDefaultAdditionalOptions from 'design-comuni-plone-theme/config/Blocks/ListingOptions/defaultAdditionalOptions';
Expand Down
6 changes: 0 additions & 6 deletions src/config/Blocks/ListingOptions/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,3 @@ export const addLighthouseField = (schema, intl, position = 0) => {

return pos;
};

export const cloneBlock = (blockData) => {
const blockID = uuid();
const clonedData = { ...blockData, block: blockID };
return [blockID, clonedData];
};

0 comments on commit 74a652d

Please sign in to comment.