a tool for shared writing and social publishing
0
fork

Configure Feed

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

fix pub hook use

+2 -2
+1 -1
app/lish/[did]/[publication]/dashboard/Actions.tsx
··· 48 48 }; 49 49 50 50 function PublicationShareButton() { 51 - let pub = usePublicationData(); 51 + let { data: pub } = usePublicationData(); 52 52 let smoker = useSmoker(); 53 53 return ( 54 54 <Menu
+1 -1
app/lish/createPub/UpdatePubForm.tsx
··· 19 19 import { Verification } from "@vercel/sdk/esm/models/getprojectdomainop"; 20 20 21 21 export const EditPubForm = () => { 22 - let pubData = usePublicationData(); 22 + let { data: pubData } = usePublicationData(); 23 23 let record = pubData?.record as PubLeafletPublication.Record; 24 24 let [formState, setFormState] = useState<"normal" | "loading">("normal"); 25 25