a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add allowlist to publication list

+7
+7
app/home/Publications.tsx
··· 9 9 import { getPublicationURL } from "app/lish/createPub/getPublicationURL"; 10 10 import { Json } from "supabase/database.types"; 11 11 12 + let allowlist = [ 13 + "jared@hyperlink.academy", 14 + "brendan@hyperlink.academy", 15 + "celine@hyperlink.academy", 16 + ]; 12 17 export const MyPublicationList = () => { 13 18 let { identity } = useIdentityData(); 19 + if (!identity || !identity.email || !allowlist.includes(identity.email)) 20 + return null; 14 21 if (!identity || !identity.atp_did) return <PubListEmpty />; 15 22 return ( 16 23 <div className="pubListWrapper w-full sm:w-[200px] flex flex-col gap-1 sm:gap-2 container p-2 sm:p-1 sm:-m-1 sm:bg-transparent sm:border-0">