+
= (props) => {
handleSubmit,
control,
setValue,
- formState: { errors, isSubmitting },
+ formState: { errors, isSubmitting, isValid },
} = useForm({
defaultValues: {
name: "",
@@ -177,6 +177,7 @@ export const CreateWorkspace: React.FC = (props) => {
ref={ref}
hasError={Boolean(errors.name)}
className="w-full border-onboarding-border-100 placeholder:text-custom-text-400"
+ autoFocus
/>
)}
@@ -255,7 +256,7 @@ export const CreateWorkspace: React.FC
= (props) => {
)}
-