diff --git a/src/components/Card.tsx b/src/components/Card.tsx index c39c5a85..b8aaf527 100644 --- a/src/components/Card.tsx +++ b/src/components/Card.tsx @@ -232,6 +232,7 @@ const Card = forwardRef( {...(clickable && { cursor: 'pointer', as: 'button', + type: 'button', })} {...(clickable && !selected && diff --git a/src/components/Modal.tsx b/src/components/Modal.tsx index 1623f150..803f82e5 100644 --- a/src/components/Modal.tsx +++ b/src/components/Modal.tsx @@ -116,8 +116,6 @@ function ModalRef( setBodyLocked(lockBody && open) }, [lockBody, open, setBodyLocked]) - console.log('formprops', formProps) - return (