@@ -14,30 +14,30 @@ export default function displayBlock(block, index) {
14
14
15
15
// prettier-ignore
16
16
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} />
21
21
case 'core/quote' :
22
22
return < Blocks . BlockQuote { ...attributes } key = { index } />
23
23
case 'core/pullquote' :
24
24
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} />
27
27
case 'core/heading' :
28
28
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} />
33
33
case 'core/list' :
34
34
return < Blocks . BlockList { ...attributes } key = { index } />
35
35
case 'core/paragraph' :
36
36
return < Blocks . BlockParagraph { ...attributes } key = { index } />
37
37
case 'core/separator' :
38
38
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} />
41
41
case 'core/spacer' :
42
42
return < Blocks . BlockSpacer { ...attributes } key = { index } />
43
43
default :
0 commit comments