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 type error

+2 -2
+1 -1
app/lish/[did]/[publication]/page.tsx
··· 69 69 > 70 70 <PublicationHomeLayout 71 71 uri={publication.uri} 72 - showPageBackground={showPageBackground} 72 + showPageBackground={!!showPageBackground} 73 73 > 74 74 <div className="pubHeader flex flex-col pb-8 w-full text-center justify-center "> 75 75 {record?.icon && (
+1 -1
components/Pages/Page.tsx
··· 84 84 pageType: "canvas" | "doc"; 85 85 drawerOpen: boolean | undefined; 86 86 }) => { 87 - let { ref } = usePreserveScroll(props.id); 87 + let { ref } = usePreserveScroll<HTMLDivElement>(props.id); 88 88 return ( 89 89 // this div wraps the contents AND the page options. 90 90 // it needs to be its own div because this container does NOT scroll, and therefore doesn't clip the absolutely positioned pageOptions