diff --git a/packages/app/src/common/components/Button.tsx b/packages/app/src/common/components/Button.tsx index 70f68743..ba61abcb 100644 --- a/packages/app/src/common/components/Button.tsx +++ b/packages/app/src/common/components/Button.tsx @@ -86,8 +86,7 @@ const Button: React.FC = ({ {children} diff --git a/packages/app/src/common/components/modals/InfoModal.tsx b/packages/app/src/common/components/modals/InfoModal.tsx index dfae636c..ca19d059 100644 --- a/packages/app/src/common/components/modals/InfoModal.tsx +++ b/packages/app/src/common/components/modals/InfoModal.tsx @@ -2,13 +2,23 @@ import { Dialog } from "@headlessui/react"; import { ExclamationTriangleIcon } from "@heroicons/react/24/solid"; import React, { type FC, type PropsWithChildren } from "react"; -import { BaseModal, type ModalProps } from "./"; +import { BaseModal } from "./"; +import { type ModalControl } from "../../hooks"; -type InfoModalProps = { title: string; message?: string } & PropsWithChildren & - Omit; +type InfoModalProps = { + title: string; + message?: string; + modalControl: ModalControl; +} & PropsWithChildren; const InfoModal: FC = (props) => { return ( - {}}> +