chore: update

This commit is contained in:
TakahashiNg
2026-05-13 04:24:52 +00:00
parent a4eb9e9e2d
commit c0fe45dbeb
2 changed files with 2 additions and 2 deletions
@@ -11,7 +11,7 @@ export default function ProductModal({
onClose,
}: ProductModalProps) {
const isEdit = product !== null;
const [form, setForm] = useState<Omit<MenuItemEntity, "id">>({
const [form, setForm] = useState<MenuItemEntity>({
name: product?.name ?? "",
price: product?.price ?? 0,
imageUrl: product?.imageUrl ?? "/imgs/products/placeholder.jpg",
+1 -1
View File
@@ -113,7 +113,7 @@ export interface Department {
}
export interface MenuItemEntity {
id: string;
id?: string;
name: string;
price: number;
eatery?: EateryEntity;