diff --git a/apps/envited.ascs.digital/modules/Profile/Profile.schema.ts b/apps/envited.ascs.digital/modules/Profile/Profile.schema.ts index 4116039a..cd7f3d25 100644 --- a/apps/envited.ascs.digital/modules/Profile/Profile.schema.ts +++ b/apps/envited.ascs.digital/modules/Profile/Profile.schema.ts @@ -20,7 +20,6 @@ export const ProfileSchema = z.object({ principalEmail: z.string().email().optional().or(z.literal('')), website: z.string().url().optional().or(z.literal('')), offerings: z.string().array().optional(), - isPublished: z.boolean(), }) export const ValidateProfileForm = ProfileSchema.safeParse diff --git a/apps/envited.ascs.digital/modules/Profile/Profile.tsx b/apps/envited.ascs.digital/modules/Profile/Profile.tsx index 95abfdde..5ef9deaa 100644 --- a/apps/envited.ascs.digital/modules/Profile/Profile.tsx +++ b/apps/envited.ascs.digital/modules/Profile/Profile.tsx @@ -42,7 +42,6 @@ type ProfileInputs = { principalEmail: string website: string offerings: [] - isPublished: boolean } export const Profile: FC = ({ profile, memberCategories }) => { @@ -72,7 +71,6 @@ export const Profile: FC = ({ profile, memberCategories }) => { principalEmail: propOr('', 'principalEmail')(profile), website: propOr('', 'website')(profile), offerings: [], - isPublished: propOr(false, 'isPublished')(profile), }, mode: 'onChange', }) @@ -127,16 +125,6 @@ export const Profile: FC = ({ profile, memberCategories }) => { /> -
- ( - - )} - /> -
-