refactor: remove unused isMobile function
- Deleted unused isMobile() function that was checking window width - Cleaned up code by removing redundant window width check that wasn't being utilized in the component
This commit is contained in:
		@@ -59,10 +59,7 @@ export const Carousel = ({ items, initialScroll = 0 }: CarouselProps) => {
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  
 | 
			
		||||
  const isMobile = () => {
 | 
			
		||||
    return window && window.innerWidth < 768;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  
 | 
			
		||||
  return (
 | 
			
		||||
      <div className="relative w-full">
 | 
			
		||||
        <div
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user