Skip to content

Commit 9ce945d

Browse files
authored
don't render {} in mobile notifications (keybase#18995)
1 parent 4883f2d commit 9ce945d

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎shared/settings/notifications/render.tsx‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,7 @@ const Notifications = (props: Props) =>
101101
props.groups.app_push &&
102102
props.groups.app_push.settings ? (
103103
<PhoneSection {...props} />
104-
) : Styles.isMobile ? (
105-
{
106-
/* TODO: display something if the user needs to enable push? */
107-
}
108-
) : (
104+
) : Styles.isMobile /* TODO: display something if the user needs to enable push? */ ? null : (
109105
<Kb.Box2 direction="vertical">
110106
<Kb.Text type="Header">Phone notifications</Kb.Text>
111107
<Kb.Text type="BodySmall">Install the Keybase app on your phone.</Kb.Text>

0 commit comments

Comments
 (0)