import { Dialog, Transition } from "@headlessui/react"; import { Fragment } from "react"; import InputField from "../InputField"; import { useRouter } from "next/router"; import Button from "../buttons/Button"; const AddUserDialog = ({ isOpen, closeModal, submitModal, email, workspaceId, setEmail, currentPlan, orgName }) => { const submit = () => { submitModal(email); }; const router = useRouter(); return (
Invite others to {orgName}

An invite is specific to an email address and expires after 1 day. For security reasons, you will need to separately add members to projects.

{currentPlan == process.env.NEXT_PUBLIC_STRIPE_PRODUCT_STARTER &&
}
{/* Unleash Infisical's Full Power

You have exceeded the number of members in a free organization.

Upgrade now and get access to adding more members, as well as to other powerful enhancements.

*/}
); }; export default AddUserDialog;