1
0
Fork 0

fix: Null-check account

This commit is contained in:
joostdecock 2024-01-02 17:47:23 +01:00
parent 9208fb9a3c
commit f8fffab64d

View file

@ -95,7 +95,7 @@ export const NewsletterSettings = ({ welcome = false, bare = false }) => {
<p>{t('newsletter:subscribePs')}</p>
<p>
<PageLink
href={`/newsletter/unsubscribe?x=${account.ehash}`}
href={`/newsletter/unsubscribe?x=${account?.ehash}`}
txt={t('newsletter:unsubscribeLink')}
/>
</p>