diff --git a/app/components/CreateRoleFormModal/CreateRoleForm.tsx b/app/components/CreateRoleFormModal/CreateRoleForm.tsx index fc462aa7..72d70159 100644 --- a/app/components/CreateRoleFormModal/CreateRoleForm.tsx +++ b/app/components/CreateRoleFormModal/CreateRoleForm.tsx @@ -1,5 +1,6 @@ -import { FC, useState } from "react"; import { Form } from "@remix-run/react"; +import { FC, useState } from "react"; + import CreateRoleModal from "./CreateRoleModal"; interface CreateRoleFormProperties { @@ -13,7 +14,7 @@ const CreateRoleForm: FC = ({ isOpen, onClose }) => { const handleSubmit = (event: React.FormEvent) => { event.preventDefault(); - // Handle form submission logic here + onClose(); };