Skip to content

Commit

Permalink
Avoid default export of unnamed function
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Oct 19, 2023
1 parent c6acbe5 commit fa710c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
DividerEdit,
} from '@eeacms/volto-block-divider/components';

export default (config) => {
export default function applyConfig(config) {
// Install Divider block
config.blocks.blocksConfig.dividerBlock = {
id: 'dividerBlock',
Expand All @@ -29,4 +29,4 @@ export default (config) => {

// BBB: DEPRECATED Splitter block
return installDeprecatedSplitter(config);
};
}

0 comments on commit fa710c9

Please sign in to comment.