diff --git a/apps/app/components/onboarding/user-details.tsx b/apps/app/components/onboarding/user-details.tsx index f4f94117d..63df0d968 100644 --- a/apps/app/components/onboarding/user-details.tsx +++ b/apps/app/components/onboarding/user-details.tsx @@ -76,8 +76,8 @@ export const UserDetails: React.FC = ({ user, setStep, setUserRole }) =>
-
- First name +
+ First name = ({ user, setStep, setUserRole }) => error={errors.first_name} />
-
- Last name +
+ Last name = ({ user, setStep, setUserRole }) => )} /> + {errors.role && {errors.role.message}}
diff --git a/apps/app/components/onboarding/workspace.tsx b/apps/app/components/onboarding/workspace.tsx index 13558c71d..783f5f5e5 100644 --- a/apps/app/components/onboarding/workspace.tsx +++ b/apps/app/components/onboarding/workspace.tsx @@ -82,7 +82,7 @@ export const Workspace: React.FC = ({ setStep, setWorkspace, user }) => {
{ switch (i) { @@ -130,7 +130,7 @@ export const Workspace: React.FC = ({ setStep, setWorkspace, user }) => {
-
+
{invitations && invitations.length > 0 ? ( invitations.map((invitation) => (
diff --git a/apps/app/components/workspace/create-workspace-form.tsx b/apps/app/components/workspace/create-workspace-form.tsx index 213232d24..fdc078cf0 100644 --- a/apps/app/components/workspace/create-workspace-form.tsx +++ b/apps/app/components/workspace/create-workspace-form.tsx @@ -103,10 +103,10 @@ export const CreateWorkspaceForm: React.FC = ({ return (
-
-
-
- Workspace name +
+
+
+ Workspace name = ({ error={errors.name} />
-
- Workspace URL +
+ Workspace URL
{typeof window !== "undefined" && window.location.origin}/ @@ -156,8 +156,8 @@ export const CreateWorkspaceForm: React.FC = ({
-
- How large is your company? +
+ How large is your company?