Skip to content

Commit 3b98a99

Browse files
committed
Add nullcheck
1 parent 9187791 commit 3b98a99

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/pages/common/UserMenu

1 file changed

+1
-1
lines changed

packages/app/src/app/pages/common/UserMenu/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const UserMenu: FunctionComponent = () => {
4343
curator={user.curatorAt}
4444
openFeedback={() => modalOpened({ modal: 'feedback' })}
4545
menuProps={menu}
46-
showPatron={user.subscription.plan === 'patron'}
46+
showPatron={user.subscription && user.subscription.plan === 'patron'}
4747
/>
4848
</Relative>
4949
);

0 commit comments

Comments
 (0)