Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(#2393): captions visible twice
  • Loading branch information
illiteratewriter authored and davidacevedo committed May 27, 2022
1 parent 13cbeeb commit c20fa93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CarouselIndicators.js
Expand Up @@ -6,6 +6,7 @@ import { mapToCssModules } from './utils';
const CarouselIndicators = (props) => {
const { items, activeIndex, cssModule, onClickHandler, className } = props;


const listClasses = mapToCssModules(classNames(className, 'carousel-indicators'), cssModule);
const indicators = items.map((item, idx) => {
const indicatorClasses = mapToCssModules(classNames(
Expand All @@ -22,7 +23,6 @@ const CarouselIndicators = (props) => {
}}
className={indicatorClasses}
>
{item.caption}
</button>);
});

Expand Down

0 comments on commit c20fa93

Please sign in to comment.