Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed Aug 26, 2024
1 parent f859684 commit 4cf2260
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/components/templates/carousel/VerticalView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { withRouter } from 'react-router';
import loadable from '@loadable/component';
import cx from 'classnames';
import { RenderBlocks } from '@plone/volto/components';

import 'slick-carousel/slick/slick.css';
import 'slick-carousel/slick/slick-theme.css';
import '@eeacms/volto-tabs-block/less/carousel.less';
Expand Down
6 changes: 4 additions & 2 deletions src/components/templates/default/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,10 @@ const View = (props) => {
),
pane: (
<Tab.Pane key={tab} as={isContainer ? Container : undefined}>
<div id={tabs[tab]?.title || `Tab ${index + 1}`} className="tab-name">
<div
id={tabs[tab]?.title || `Tab ${tabsList.indexOf(tab) + 1}`}
className="tab-name"
>
<div tabIndex={0} role="tabpanel" id={'tab-pane-' + tab}>
<RenderBlocks
{...props}
Expand All @@ -215,7 +218,6 @@ const View = (props) => {
),
};
});
console.log('HERE ==>', activeTabIndex);

return (
<>
Expand Down
1 change: 0 additions & 1 deletion src/components/templates/horizontal-responsive/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ const View = (props) => {
menuTabular,
menuText,
menuAlign,
hideEmptyTabs,
} = data;
const isContainer = align === 'full';

Expand Down

0 comments on commit 4cf2260

Please sign in to comment.