diff --git a/src/Components/Profile/ContactInfo.tsx b/src/Components/Profile/ContactInfo.tsx index 94b0a286..9b397f28 100644 --- a/src/Components/Profile/ContactInfo.tsx +++ b/src/Components/Profile/ContactInfo.tsx @@ -5,7 +5,7 @@ const ContactInfo = ({ email, telephone, name, avatar, link }: { email: string, const assetsApi = useAssetApi(); return ( -
+

Du hast Fragen?

{avatar && ( diff --git a/src/Components/Profile/ProfileSubHeader.tsx b/src/Components/Profile/ProfileSubHeader.tsx index 67492365..60835d5a 100644 --- a/src/Components/Profile/ProfileSubHeader.tsx +++ b/src/Components/Profile/ProfileSubHeader.tsx @@ -25,9 +25,9 @@ const statusMapping = { const SubHeader = ({ type, status, url, title }) => (
-
- {type}{(status && status !== 'active') ? ` (${statusMapping[status]})` : ''} -
+ {type &&
+ {type}{(status && status !== 'active') ? ` (${statusMapping[status]})` : ''} +
}