diff --git a/src/config/Blocks/ListingOptions/index.js b/src/config/Blocks/ListingOptions/index.js index 82170be2b..2db918e35 100644 --- a/src/config/Blocks/ListingOptions/index.js +++ b/src/config/Blocks/ListingOptions/index.js @@ -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'; diff --git a/src/config/Blocks/ListingOptions/utils.js b/src/config/Blocks/ListingOptions/utils.js index fc4867bc4..6443b2e70 100644 --- a/src/config/Blocks/ListingOptions/utils.js +++ b/src/config/Blocks/ListingOptions/utils.js @@ -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]; -};