tangled
alpha
login
or
join now
bad-example.com
/
spacedust-utils
6
fork
atom
demos for spacedust
6
fork
atom
overview
issues
pulls
pipelines
don't try to render for anonymous user
bad-example.com
8 months ago
d1124133
eb553fda
+1
-1
1 changed file
expand all
collapse all
unified
split
atproto-notifications
src
App.tsx
+1
-1
atproto-notifications/src/App.tsx
···
116
content = <Problem>your browser does not support registering push notifications.</Problem>
117
} else if (!whoamiHost) {
118
content = <GetJson endpoint='/hello' ok={info => <Blah info={info} />} />
119
-
} else if (!user) {
120
if (verif === 'verifying') content = <p><em>verifying…</em></p>;
121
else {
122
content = <WhoAmI onIdentify={onIdentify} origin={whoamiHost} />;
···
116
content = <Problem>your browser does not support registering push notifications.</Problem>
117
} else if (!whoamiHost) {
118
content = <GetJson endpoint='/hello' ok={info => <Blah info={info} />} />
119
+
} else if (!user || user.role === 'anonymous') {
120
if (verif === 'verifying') content = <p><em>verifying…</em></p>;
121
else {
122
content = <WhoAmI onIdentify={onIdentify} origin={whoamiHost} />;