diff --git a/src/models/Dev.ts b/src/models/Dev.ts index d84ec77..792b170 100644 --- a/src/models/Dev.ts +++ b/src/models/Dev.ts @@ -32,7 +32,7 @@ export const getDescription = (status?: string, company?: string): string => { if (status && company) return `${status} at ${company}`; if (status) return status; if (company) return `Employed at ${company}`; - return 'Document your current occupation.'; + return 'DevBook Member'; }; /** class implementing IDev. diff --git a/src/pages/Profile.tsx b/src/pages/Profile.tsx index ef6668c..22c65d0 100644 --- a/src/pages/Profile.tsx +++ b/src/pages/Profile.tsx @@ -127,7 +127,10 @@ const Profile: FC = ({dev}) => {

Experiences

{dev.experiences.length === 0 ? (
- + no experiences
) : ( dev.experiences.map((exp: Experience, i: number) => ( @@ -151,7 +154,7 @@ const Profile: FC = ({dev}) => {

Education

{dev.educations.length === 0 ? (
- + no educations
) : ( dev.educations.map((edu: Education, i: number) => ( @@ -180,9 +183,12 @@ const Profile: FC = ({dev}) => { GitHub Repos - {dev.repos.length === 0 ? ( + {dev.repos?.length === 0 ? (
- + no repositories
) : ( dev.repos.map((r: Repo, i: number) => (