a tool for shared writing and social publishing
0
fork

Configure Feed

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

remove some stray console logs and bg-tests

celine c1307618 1f380575

+1 -8
-3
app/[doc_id]/opengraph-image.tsx
··· 9 9 const hostname = headersList.get("x-forwarded-host"); 10 10 let protocol = headersList.get("x-forwarded-proto"); 11 11 let path = `${protocol}://${hostname}/${props.params.doc_id}`; 12 - let startTime = Date.now(); 13 - console.log("starting fetch"); 14 12 let response = await fetch( 15 13 `https://pro.microlink.io/?url=${path}&screenshot=true&&viewport.width=1200&viewport.height=630&meta=false&embed=screenshot.url`, 16 14 { ··· 20 18 }, 21 19 ); 22 20 let endTime = Date.now(); 23 - console.log(`fetched in ${(endTime - startTime) / 1000} seconds`); 24 21 return response; 25 22 }
+1 -2
components/Blocks.tsx
··· 110 110 : null, 111 111 ); 112 112 if (!entity_set.permissions.write) return null; 113 - console.log(editorState?.editor.doc.content.size); 114 113 if ( 115 114 props.lastBlock?.type === "text" && 116 115 (!editorState?.editor || editorState.editor.doc.content.size <= 2) 117 116 ) 118 117 return null; 119 118 return ( 120 - <div className="relative group/text px-2 sm:px-3 bg-test"> 119 + <div className="relative group/text px-2 sm:px-3"> 121 120 <div 122 121 className="h-6 hover:cursor-text italic text-tertiary" 123 122 onMouseDown={async () => {
-1
components/ThemeManager/ThemeSetter.tsx
··· 255 255 props.setOpenPicker("null"); 256 256 } else { 257 257 props.setOpenPicker(props.thisPicker); 258 - console.log("click"); 259 258 } 260 259 }} 261 260 >
-2
components/Toolbar/HighlightButton.tsx
··· 104 104 let highlight2Value = useColorAttribute(rootEntity, "theme/highlight-2"); 105 105 let highlight3Value = useColorAttribute(rootEntity, "theme/highlight-3"); 106 106 107 - console.log(color?.data.value + " | " + highlight1Value); 108 - 109 107 return ( 110 108 <Popover.Root> 111 109 <Popover.Trigger>