The weeb for the next gen discord boat - Wamellow wamellow.com
bot discord
3
fork

Configure Feed

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

fix login state glitch and markdown

Luna 50fdd7b3 0d366012

+5 -2
+2 -2
app/login/page.tsx
··· 28 28 29 29 localStorage.setItem("freshleyLoggedout", "true"); 30 30 localStorage.removeItem("token"); 31 - router.push("/"); 31 + window.location.href = "/"; 32 32 return; 33 33 } 34 34 ··· 77 77 return; 78 78 } 79 79 80 - router.push(redirect || "/"); 80 + window.location.href = redirect || "/"; 81 81 break; 82 82 } 83 83 default: {
+1
components/BeautifyMarkdown.tsx
··· 16 16 17 17 return ( 18 18 <ReactMarkdown 19 + /* @ts-expect-error they broke types */ 19 20 rehypePlugins={[rehypeRaw]} 20 21 components={{ 21 22 h1: ({ ...props }) => <Link
+2
components/discord/Markdown.tsx
··· 26 26 27 27 if (!discord) return ( 28 28 <ReactMarkdown 29 + /* @ts-expect-error they broke types */ 29 30 rehypePlugins={[rehypeRaw]} 30 31 allowedElements={["span", "p"]} 31 32 > ··· 41 42 return ( 42 43 <ReactMarkdown 43 44 className="break-words" 45 + /* @ts-expect-error they broke types */ 44 46 rehypePlugins={[rehypeRaw]} 45 47 components={{ 46 48 h1: ({ ...props }) => <div className="text-3xl font-semibold" {...props} />,