bug fixed
This commit is contained in:
@@ -11,5 +11,5 @@ export interface Category {
|
||||
export interface CategoryResult {
|
||||
id: string;
|
||||
name: string;
|
||||
image: string;
|
||||
image: string | null;
|
||||
}
|
||||
|
||||
@@ -42,9 +42,9 @@ export interface ProductListResult {
|
||||
|
||||
export interface ProductDetail {
|
||||
id: number;
|
||||
images: { id: number; image: string }[];
|
||||
images: { id: number; image: string | null }[];
|
||||
liked: boolean;
|
||||
meansurement: null | string;
|
||||
meansurement: null | { id: number; name: string };
|
||||
inventory_id: null | string;
|
||||
product_id: string;
|
||||
code: string;
|
||||
|
||||
Reference in New Issue
Block a user