a tool for shared writing and social publishing
0
fork

Configure Feed

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

pass correct pub id to create pub button

+1 -2
+1 -2
app/lish/[handle]/[publication]/dashboard/DraftList.tsx
··· 7 7 8 8 export function DraftList() { 9 9 let pub_data = usePublicationData(); 10 - console.log({ pub_data }); 11 10 if (!pub_data) return null; 12 11 return ( 13 12 <div className="flex flex-col gap-4 pb-8 sm:pb-12"> 14 - <NewDraftSecondaryButton fullWidth publication={pub_data?.name} /> 13 + <NewDraftSecondaryButton fullWidth publication={pub_data?.uri} /> 15 14 {pub_data.leaflets_in_publications.map((d) => { 16 15 return ( 17 16 <React.Fragment key={d.leaflet}>