import { useState, ReactElement } from "react"; import { useRouter } from "next/router"; // hooks import useUser from "hooks/use-user"; // layouts import { AppLayout } from "layouts/app-layout"; import { WorkspaceSettingLayout } from "layouts/settings-layout"; // components import { WorkspaceSettingHeader } from "components/headers"; import { SendWorkspaceInvitationModal, WorkspaceMembersList } from "components/workspace"; // ui import { Button } from "@plane/ui"; // icons import { Search } from "lucide-react"; // types import { NextPageWithLayout } from "types/app"; const WorkspaceMembersSettingsPage: NextPageWithLayout = () => { const router = useRouter(); const { workspaceSlug } = router.query; // states const [inviteModal, setInviteModal] = useState(false); const [searchQuery, setSearchQuery] = useState(""); // hooks const { user } = useUser(); return ( <> {workspaceSlug && ( setInviteModal(false)} workspaceSlug={workspaceSlug.toString()} user={user} /> )}

Members

setSearchQuery(e.target.value)} />
); }; WorkspaceMembersSettingsPage.getLayout = function getLayout(page: ReactElement) { return ( }> {page} ); }; export default WorkspaceMembersSettingsPage;