diff --git a/apps/user-ui/app/(drawer)/(tabs)/home/search-results/index.tsx b/apps/user-ui/app/(drawer)/(tabs)/home/search-results/index.tsx
index f71d088..b7a1b17 100644
--- a/apps/user-ui/app/(drawer)/(tabs)/home/search-results/index.tsx
+++ b/apps/user-ui/app/(drawer)/(tabs)/home/search-results/index.tsx
@@ -70,24 +70,6 @@ export default function SearchResults() {
// Search is now automatic via debounce, but keep this for manual submit
}, []);
- if (isLoading) {
- return (
-
- Loading products...
-
- );
- }
-
- if (error) {
- return (
-
-
- Oops!
- Failed to load products
-
- );
- }
-
return (
-
-
- No products found
-
- {debouncedQuery && (
-
- Try adjusting your search for "{debouncedQuery}"
+ isLoading ? (
+
+ Loading products...
+
+ ) : (
+
+
+
+ No products found
- )}
-
+ {debouncedQuery && (
+
+ Try adjusting your search for "{debouncedQuery}"
+
+ )}
+
+ )
}
ListHeaderComponent={
diff --git a/apps/user-ui/components/ProductDetail.tsx b/apps/user-ui/components/ProductDetail.tsx
index 3f5c835..c221cd6 100644
--- a/apps/user-ui/components/ProductDetail.tsx
+++ b/apps/user-ui/components/ProductDetail.tsx
@@ -330,26 +330,26 @@ const ProductDetail: React.FC = ({ productId, isFlashDeliver
{isFlashDelivery ? (
!(productDetail.isOutOfStock || !productDetail.isFlashAvailable) && handleBuyNow(productDetail.id)}
disabled={productDetail.isOutOfStock || !productDetail.isFlashAvailable}
>
-
+
{productDetail.isOutOfStock ? 'Out of Stock' :
- (!productDetail.isFlashAvailable ? 'Not Flash Eligible' : 'Buy Now')}
+ (!productDetail.isFlashAvailable ? 'Not Flash Eligible' : 'Get in 1 Hour')}
) : productDetail.isFlashAvailable ? (
productDetail.deliverySlots.length > 0 && handleBuyNow(productDetail.id)}
disabled={productDetail.deliverySlots.length === 0}
>
-
- {productDetail.deliverySlots.length === 0 ? 'No Slots' : 'Buy Now'}
+
+ {productDetail.deliverySlots.length === 0 ? 'No Slots' : 'Get in 1 Hour'}
) : (