fix: Null-check account
This commit is contained in:
parent
9208fb9a3c
commit
f8fffab64d
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue