a tool for shared writing and social publishing

remove logs

-7
-1
components/ActionBar/Navigation.tsx
··· 192 192 <Popover 193 193 onOpenChange={async (open) => { 194 194 if (open) { 195 - console.log(open); 196 195 await markAsRead(); 197 196 mutate(); 198 197 }
-2
components/Blocks/PublicationPollBlock.tsx
··· 31 31 32 32 const docRecord = publicationData.documents 33 33 .data as PubLeafletDocument.Record; 34 - console.log(docRecord); 35 34 36 35 // Search through all pages and blocks to find if this poll entity has been published 37 36 for (const page of docRecord.pages || []) { ··· 40 39 for (const blockWrapper of linearPage.blocks || []) { 41 40 if (blockWrapper.block?.$type === ids.PubLeafletBlocksPoll) { 42 41 const pollBlock = blockWrapper.block as PubLeafletBlocksPoll.Main; 43 - console.log(pollBlock); 44 42 // Check if this poll's rkey matches our entity ID 45 43 const rkey = pollBlock.pollRef.uri.split("/").pop(); 46 44 if (rkey === props.entityID) {
-4
components/PageLayouts/DashboardLayout.tsx
··· 51 51 export const useDashboardStore = create<DashboardStore>((set, get) => ({ 52 52 dashboards: {}, 53 53 setDashboard: (id: string, partial: Partial<DashboardState>) => { 54 - console.log(partial); 55 54 set((state) => ({ 56 55 dashboards: { 57 56 ...state.dashboards, ··· 259 258 hasTemplates: boolean; 260 259 }) => { 261 260 let { display, sort } = useDashboardState(); 262 - console.log({ display, props }); 263 261 display = display || props.defaultDisplay; 264 262 let setState = useSetDashboardState(); 265 263 266 264 let { identity } = useIdentityData(); 267 - console.log(props); 268 265 269 266 return ( 270 267 <div className="dashboardControls w-full flex gap-4"> ··· 303 300 defaultDisplay: Exclude<DashboardState["display"], undefined>; 304 301 }) => { 305 302 let { display, sort } = useDashboardState(); 306 - console.log({ display, props }); 307 303 display = display || props.defaultDisplay; 308 304 let setState = useSetDashboardState(); 309 305 return (