Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit dcbdaf2

Browse files
committed
Commenting out incomplete blocks
1 parent c40fca2 commit dcbdaf2

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

functions/displayBlock.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,30 @@ export default function displayBlock(block, index) {
1414

1515
// prettier-ignore
1616
switch (name) {
17-
case 'acf/accordions':
18-
return <Blocks.BlockAccordions {...attributes} key={index} />
19-
case 'acf/netflix':
20-
return <Blocks.BlockNetflixCarousel {...attributes} key={index} />
17+
// case 'acf/accordions':
18+
// return <Blocks.BlockAccordions {...attributes} key={index} />
19+
// case 'acf/netflix':
20+
// return <Blocks.BlockNetflixCarousel {...attributes} key={index} />
2121
case 'core/quote':
2222
return <Blocks.BlockQuote {...attributes} key={index} />
2323
case 'core/pullquote':
2424
return <Blocks.PullQuote {...attributes} key={index} />
25-
case 'core/embed':
26-
return <Blocks.BlockVideoEmbed {...attributes} key={index} />
25+
// case 'core/embed':
26+
// return <Blocks.BlockVideoEmbed {...attributes} key={index} />
2727
case 'core/heading':
2828
return <Blocks.BlockHeadings {...attributes} key={index} />
29-
case 'core/image':
30-
return <Blocks.BlockImage {...attributes} key={index} />
31-
case 'core/image-gallery':
32-
return <Blocks.BlockImageGallery {...attributes} key={index} />
29+
// case 'core/image':
30+
// return <Blocks.BlockImage {...attributes} key={index} />
31+
// case 'core/image-gallery':
32+
// return <Blocks.BlockImageGallery {...attributes} key={index} />
3333
case 'core/list':
3434
return <Blocks.BlockList {...attributes} key={index} />
3535
case 'core/paragraph':
3636
return <Blocks.BlockParagraph {...attributes} key={index} />
3737
case 'core/separator':
3838
return <Blocks.BlockSeparator {...attributes} key={index} />
39-
case 'core/shortcode':
40-
return <Blocks.BlockShortcode {...attributes} key={index} />
39+
// case 'core/shortcode':
40+
// return <Blocks.BlockShortcode {...attributes} key={index} />
4141
case 'core/spacer':
4242
return <Blocks.BlockSpacer {...attributes} key={index} />
4343
default:

0 commit comments

Comments
 (0)