Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
alecghica committed Sep 18, 2023
1 parent 636f61d commit 6fb584c
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 @@ -82,8 +82,8 @@ function restrictAvailableBlocks(config) {
config.blocks.blocksConfig = {
...Object.keys(config.blocks.blocksConfig).reduce((acc, blockKey) => {
if (
['treemapChart', 'countryFlag', 'plotly_chart',].includes(
config.blocks.blocksConfig[blockKey].id)
['treemapChart', 'countryFlag', 'plotly_chart',
].includes(config.blocks.blocksConfig[blockKey].id)
) {
config.blocks.blocksConfig[blockKey].restricted = true;
}
Expand Down

0 comments on commit 6fb584c

Please sign in to comment.