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