a tool for shared writing and social publishing
0
fork

Configure Feed

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

tweak focusfirstblock

+3 -2
+3 -2
components/utils/UpdatePageTitle.tsx
··· 35 35 useEffect(() => { 36 36 if (isMobile) return; 37 37 if (!firstBlock || focusFirstBlock === null) return; 38 + 39 + router.replace(location.pathname); 38 40 setTimeout(() => { 39 41 focusBlock(firstBlock, { type: "start" }); 40 42 //remove url param 41 - router.replace(location.pathname); 42 - }, 50); 43 + }, 100); 43 44 }, [focusFirstBlock, firstBlock, router, isMobile]); 44 45 45 46 return null;