From 3e11bb6e50ca6cf09d3cf5158894bd1011c2dffd Mon Sep 17 00:00:00 2001 From: Thith-thith Date: Mon, 7 Aug 2023 12:40:59 -0400 Subject: [PATCH] Changes to be committed: modified: client/src/components/Image.tsx modified: client/src/pages/products/details.tsx --- client/src/components/Image.tsx | 21 ++++++++++++--------- client/src/pages/products/details.tsx | 8 ++++---- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/client/src/components/Image.tsx b/client/src/components/Image.tsx index fa5b5cc..05ba963 100644 --- a/client/src/components/Image.tsx +++ b/client/src/components/Image.tsx @@ -1,20 +1,23 @@ import { Component } from "solid-js"; export type Image = { - image: String; - name: String; - width: String; - heigh: String; - is_scale: Boolean; + image: string; + name: string; + width: string; + heigh: string; + is_scale: boolean; }; const Image: Component = (props) => { + const { image, name, width, heigh, is_scale } = props; return ( -