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
remove allowlist
awarm.space
9 months ago
d79ac553
c85cb855
-7
1 changed file
expand all
collapse all
unified
split
app
home
Publications.tsx
-7
app/home/Publications.tsx
···
12
12
} from "app/lish/createPub/getPublicationURL";
13
13
import { Json } from "supabase/database.types";
14
14
15
15
-
let allowlist = [
16
16
-
"jared@hyperlink.academy",
17
17
-
"brendan@hyperlink.academy",
18
18
-
"celine@hyperlink.academy",
19
19
-
];
20
15
export const MyPublicationList = () => {
21
16
let { identity } = useIdentityData();
22
22
-
if (!identity || !identity.email || !allowlist.includes(identity.email))
23
23
-
return null;
24
17
if (!identity || !identity.atp_did) return <PubListEmpty />;
25
18
return (
26
19
<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">