a tool for shared writing and social publishing

update identity data on revalidate

+3
+3
components/IdentityProvider.tsx
··· 22 22 fallbackData: props.initialValue, 23 23 }); 24 24 useEffect(() => { 25 + mutate(props.initialValue); 26 + }, [props.initialValue]); 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}`);