tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
28
pulls
pipelines
update identity data on revalidate
awarm.space
3 months ago
7a6038f4
140e309a
+3
1 changed file
expand all
collapse all
unified
split
components
IdentityProvider.tsx
+3
components/IdentityProvider.tsx
···
22
22
fallbackData: props.initialValue,
23
23
});
24
24
useEffect(() => {
25
25
+
mutate(props.initialValue);
26
26
+
}, [props.initialValue]);
27
27
+
useEffect(() => {
25
28
if (!identity?.atp_did) return;
26
29
let supabase = supabaseBrowserClient();
27
30
let channel = supabase.channel(`identity.atp_did:${identity.atp_did}`);