diff --git a/web-client/app/_components/GenerateImageList/index.tsx b/web-client/app/_components/GenerateImageList/index.tsx index c9a301627..1e9e1cd1f 100644 --- a/web-client/app/_components/GenerateImageList/index.tsx +++ b/web-client/app/_components/GenerateImageList/index.tsx @@ -6,22 +6,28 @@ type Props = { products: ProductDetailFragment[]; }; -const GenerateImageList: React.FC = ({ products }) => ( -
-
-
- -

- Generate Images -

+const GenerateImageList: React.FC = ({ products }) => { + if (products.length === 0) { + return
; + } + + return ( +
+
+
+ +

+ Generate Images +

+
+
+
+ {products.map((item) => ( + + ))}
-
- {products.map((item) => ( - - ))} -
-
-); + ); +}; export default GenerateImageList; diff --git a/web-client/app/_components/NewChatBlankState/index.tsx b/web-client/app/_components/NewChatBlankState/index.tsx index 109017325..7f6c4c86e 100644 --- a/web-client/app/_components/NewChatBlankState/index.tsx +++ b/web-client/app/_components/NewChatBlankState/index.tsx @@ -43,12 +43,10 @@ const NewChatBlankState: React.FC = () => { } return ( -
-
- - - -
+
+ + +
); };