/* eslint-disable @typescript-eslint/no-unsafe-return */ /* eslint-disable @typescript-eslint/restrict-plus-operands */ import { Link } from 'react-router-dom' import { useAssetApi } from '../../AppShell/hooks/useAssets' const ContactInfo = ({ email, telephone, name, avatar, link, }: { email: string telephone: string name: string avatar: string link?: string }) => { const assetsApi = useAssetApi() return (

Du hast Fragen?

{avatar && (
{name}
)}

{name}

{email && (

{email}

)} {telephone && (

{telephone}

)}
) } export default ContactInfo // eslint-disable-next-line react/prop-types const ConditionalLink = ({ url, children }) => { const params = new URLSearchParams(window.location.search) if (url) { return {children} } return children }