Skip to content

Commit

Permalink
fix: slider
Browse files Browse the repository at this point in the history
  • Loading branch information
alangumer committed Oct 21, 2024
1 parent 38dd966 commit a64238f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/organisms/cardSlider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default function Slider({
}}
>
<button
className={`${styles.arrow}${isDarkBg && ' ' + styles.arrowWhite}`}
className={`${styles.arrow}${isDarkBg ? ' ' + styles.arrowWhite : ''}`}
onClick={() => swiper?.slidePrev()}
disabled={isBeginning}
aria-label={previous}
Expand All @@ -129,7 +129,7 @@ export default function Slider({
</LazySwiper>

<button
className={`${styles.arrow}${isDarkBg && ' ' + styles.arrowWhite}`}
className={`${styles.arrow}${isDarkBg ? ' ' + styles.arrowWhite : ''}`}
onClick={() => swiper?.slideNext()}
disabled={isEnd}
aria-label={next}
Expand Down

0 comments on commit a64238f

Please sign in to comment.