+1
-1
atproto-notifications/src/App.tsx
+1
-1
atproto-notifications/src/App.tsx
···
116
116
content = <Problem>your browser does not support registering push notifications.</Problem>
117
117
} else if (!whoamiHost) {
118
118
content = <GetJson endpoint='/hello' ok={info => <Blah info={info} />} />
119
-
} else if (!user || user.role === 'anonymous') {
119
+
} else if (!user || role === 'anonymous') {
120
120
if (verif === 'verifying') content = <p><em>verifying…</em></p>;
121
121
else {
122
122
content = <WhoAmI onIdentify={onIdentify} origin={whoamiHost} />;