Skip to content

Commit

Permalink
fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-bongiovanni committed Dec 17, 2024
1 parent 4a184b8 commit 3671901
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
24 changes: 12 additions & 12 deletions packages/volto-blocks/src/config/blocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ declare module '@plone/types' {

type RtBlocksConfig = Pick<
BlocksConfigData,
// | 'accordion'
| 'accordion'
| 'pageintro'
| 'calltoaction'
| 'cardwithimages'
Expand All @@ -82,17 +82,17 @@ const defaultBlocksConfig = {
} as const;

export const blocks: RtBlocksConfig = {
// accordion: {
// ...defaultBlocksConfig,
// id: 'accordion',
// title: 'Accordion',
// icon: accordionSVG,
// group: 'common',
// view: AccordionView,
// edit: AccordionEdit,
// blockHasOwnFocusManagement: true,
// blockSchema: AccordionSchema,
// },
accordion: {
...defaultBlocksConfig,
id: 'accordion',
title: 'Accordion',
icon: accordionSVG,
group: 'common',
view: AccordionView,
edit: AccordionEdit,
blockHasOwnFocusManagement: true,
blockSchema: AccordionSchema,
},
pageintro: {
...defaultBlocksConfig,
id: 'pageintro',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ const Carousel = ({
if (isEditMode) {
setKey(new Date().getTime());
}
}, [displayDots]);
}, [displayDots, isEditMode]);

return (
<div
Expand Down
1 change: 0 additions & 1 deletion packages/volto-carousel/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { defineMessages } from 'react-intl';
import {
CarouselTemplate,
DefaultSlideAppearance,
BottomCarouselSlot,
TopCarouselSlot,
} from '@redturtle/volto-carousel/components';

Expand Down

0 comments on commit 3671901

Please sign in to comment.