File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { ChevronLeft , ChevronRight } from 'lucide-react' ;
3- import { ApiErrorDisplay } from './ApiErrorDisplay' ;
43import { useProductCarousel } from '../hooks/useProductCarousel' ;
54import ProductSkeleton from './Products/ProductSkeleton' ;
65import ProductCarousel from './Products/ProductCarousel' ;
@@ -84,27 +83,6 @@ const BestOfCoreX = () => {
8483 </ div >
8584 ) }
8685
87- { /* Handle complete failure */ }
88- { error && ! allCollectionsData && (
89- < ApiErrorDisplay developerError = { error . message } />
90- ) }
91-
92- { /*//TODO:Delete if not required post closing of #88 */ }
93- { /* Handle partial success with a non-blocking warning
94- {errors.length > 0 && allCollectionsData && (
95- <div className="my-4 p-4 bg-yellow-50 border border-yellow-200 rounded-lg flex items-center gap-4">
96- <AlertTriangle className="h-6 w-6 text-yellow-500" />
97- <div>
98- <h4 className="font-semibold text-yellow-800">
99- Some collections failed to load.
100- </h4>
101- <p className="text-sm text-yellow-700">
102- The displayed products might be incomplete. You can try
103- refreshing.
104- </p>
105- </div>
106- </div>
107- )} */ }
10886
10987 { /* Product Carousel */ }
11088 { ! loading && allCollectionsData && (
You can’t perform that action at this time.
0 commit comments