import { useState } 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"; // types import type { NextPage } from "next"; // icons import { Search } from "lucide-react"; const MembersSettings: NextPage = () => { const [inviteModal, setInviteModal] = useState(false); const [searchQuery, setSearchQuery] = useState(""); const router = useRouter(); const { workspaceSlug } = router.query; const { user } = useUser(); return ( }> {workspaceSlug && ( setInviteModal(false)} workspaceSlug={workspaceSlug.toString()} user={user} /> )}

Members

setSearchQuery(e.target.value)} />
); }; export default MembersSettings;