diff --git a/components/common/MarkdownTextarea.tsx b/components/common/MarkdownTextarea.tsx index 44eefaefd..d44e65f48 100644 --- a/components/common/MarkdownTextarea.tsx +++ b/components/common/MarkdownTextarea.tsx @@ -39,6 +39,7 @@ const MarkdownTextarea: React.FC = ({ name={fieldName} placeholder={placeholder} resize="vertical" + rows={6} /> void; - user: NonNullable; } type FormData = z.infer; -const FAModal: React.FC = ({ onClose, user }) => { +const FAModal: React.FC = ({ onClose }) => { const [sending, setSending] = useState(false); const { i18n } = useLingui(); @@ -42,10 +52,10 @@ const FAModal: React.FC = ({ onClose, user }) => { // }, }); - const watchBio = watch("bio", user.profile?.bio); - const toast = useToast(); + const watchContent = watch("content", ""); // TODO: get initial fa content from props + // const onSubmit = async (formData: FormData) => { // setSending(true); // const mutationData = { @@ -89,37 +99,58 @@ const FAModal: React.FC = ({ onClose, user }) => { {/*
*/} - {/* - - - Custom URL - - - - - - - {errors.customUrlPath?.message} - - - - + + Roles + + ( + + + + Frontline + + + Support + + + Backline + + + )} /> - */} + + + Can you voice chat? + + ( + + + Yes + Sometimes + No + + + )} + /> + + + + + ); +}; + +export default FreeAgentsPage; diff --git a/pages/freeagentsnew.tsx b/pages/freeagentsnew.tsx deleted file mode 100644 index f0e313357..000000000 --- a/pages/freeagentsnew.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import { t } from "@lingui/macro"; -import Breadcrumbs from "components/common/Breadcrumbs"; - -interface Props {} - -const FreeAgentsPage: React.FC = ({}) => { - return ( - <> - - - ); -}; - -export default FreeAgentsPage;