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 ( -