Skip to content

Commit

Permalink
created modal component and Create role Modal Form
Browse files Browse the repository at this point in the history
  • Loading branch information
LollyTim committed Jul 22, 2024
1 parent 5eae634 commit 41bece7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/components/CreateRoleFormModal/CreateRoleForm.tsx
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -13,7 +14,7 @@ const CreateRoleForm: FC<CreateRoleFormProperties> = ({ isOpen, onClose }) => {

const handleSubmit = (event: React.FormEvent) => {
event.preventDefault();
// Handle form submission logic here

onClose();
};

Expand Down

0 comments on commit 41bece7

Please sign in to comment.