From add759179b46859e4a98cdb637a841dd71abb480 Mon Sep 17 00:00:00 2001 From: silence Date: Wed, 6 Dec 2023 20:51:54 +0800 Subject: [PATCH] =?UTF-8?q?feat(access):=20llm=20=E6=8A=BD=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/imageList.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/components/imageList.tsx b/app/components/imageList.tsx index fa8c8357ae2..d6b9d6bcd63 100644 --- a/app/components/imageList.tsx +++ b/app/components/imageList.tsx @@ -1,20 +1,20 @@ -import { ImagesResponseDataInner } from "openai"; +import Image from "openai"; import React, { FC } from "react"; import styles from "./imageList.module.scss"; interface ImageListProps { - images?: ImagesResponseDataInner[]; + images?: Image[]; } const ImageList: FC = ({ images }) => { - const singleImage = images && images.length === 1; + const singleImage = images && images.length === 1; - return ( -
- {images && - images.map((image, index) => ( - {`Image - ))} -
- ); + return ( +
+ {images && + images.map((image, index) => ( + {`Image + ))} +
+ ); }; export default ImageList;