atproto explorer
0
fork

Configure Feed

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

remove touchscreen check

+5 -7
+5 -7
src/main.tsx
··· 105 105 106 106 const Layout: Component<RouteSectionProps<unknown>> = (props) => { 107 107 try { 108 - if ("ontouchstart" in window || navigator.maxTouchPoints > 1) { 109 - navigator.registerProtocolHandler("web+at", "/%s"); 110 - const pathname = decodeURIComponent(useLocation().pathname); 111 - if (pathname.startsWith("/web+at://")) { 112 - const navigate = useNavigate(); 113 - navigate(pathname.replace("web+at://", "at/")); 114 - } 108 + navigator.registerProtocolHandler("web+at", "/%s"); 109 + const pathname = decodeURIComponent(useLocation().pathname); 110 + if (pathname.startsWith("/web+at://")) { 111 + const navigate = useNavigate(); 112 + navigate(pathname.replace("web+at://", "at/")); 115 113 } 116 114 } catch (err) { 117 115 console.log(err);