Skip to content

Commit

Permalink
close button in itself
Browse files Browse the repository at this point in the history
  • Loading branch information
illiteratewriter authored and davidacevedo committed May 27, 2022
1 parent c20fa93 commit 1b4f845
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/CarouselIndicators.js
Expand Up @@ -6,7 +6,6 @@ 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,8 +21,7 @@ const CarouselIndicators = (props) => {
onClickHandler(idx);
}}
className={indicatorClasses}
>
</button>);
/>);
});

return (
Expand Down

0 comments on commit 1b4f845

Please sign in to comment.