From c8b8778b1352a59f6575fd00afae3c2bc48fbdb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Selim=20Enes=20Erdo=C4=9Fan?=
Date: Sat, 5 Aug 2023 23:45:42 +0300
Subject: [PATCH] issue#1123 fix
---
app/search/page.tsx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/app/search/page.tsx b/app/search/page.tsx
index 2f7a53bd4..4db141f19 100644
--- a/app/search/page.tsx
+++ b/app/search/page.tsx
@@ -2,6 +2,7 @@ import Grid from 'components/grid';
import ProductGridItems from 'components/layout/product-grid-items';
import { defaultSort, sorting } from 'lib/constants';
import { getProducts } from 'lib/shopify';
+import { Suspense } from 'react';
export const runtime = 'edge';
@@ -32,9 +33,11 @@ export default async function SearchPage({
) : null}
{products.length > 0 ? (
-
+
+
+
) : null}
>
);