Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbermanssw committed Sep 20, 2024
1 parent 14f8cf9 commit d97f205
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/blocks/CarouselFeature.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ export function CarouselFeatureBlock({ data, index }) {

// Set up media queries to detect screen size changes and adjust carousel behavior accordingly.
// Automatically cycle through items on large screens, while disabling auto-cycle on smaller screens.

useEffect(() => {
const mediaQueryLarge = window.matchMedia('(min-width: 1024px)');
const mediaQuerySmallOrMedium = window.matchMedia('(max-width: 1023px)');
Expand Down

0 comments on commit d97f205

Please sign in to comment.