From afd3de34b78a8fcb10cb8abf54a78dbe439f682b Mon Sep 17 00:00:00 2001 From: Micah Galizia Date: Sat, 7 Dec 2024 08:47:17 -0500 Subject: [PATCH] fix: optionals have no effect --- .../CreateTokenFormComponent/CreateTokenFormComponent.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mui/src/components/CreateTokenFormComponent/CreateTokenFormComponent.tsx b/packages/mui/src/components/CreateTokenFormComponent/CreateTokenFormComponent.tsx index cc4077e..d5aa4e8 100644 --- a/packages/mui/src/components/CreateTokenFormComponent/CreateTokenFormComponent.tsx +++ b/packages/mui/src/components/CreateTokenFormComponent/CreateTokenFormComponent.tsx @@ -13,8 +13,8 @@ import { Controller, useForm } from "react-hook-form"; interface FormValues { name: string; - asset?: string; - hitPoints?: number; + asset: string; + hitPoints: number; } const CreateTokenFormComponent = () => {