Ho-kage
Explore posts from serversAction triggering revalidation without cookie
I am implementing an admin site which uses BetterAuth. When implementing an action it seems it tries to fetch fresh data (my createAsync call) but it fails my admin validation because the cookie doesn't seem to be present. Not quite sure how I get around this. The isAdmin function is shown below (it gets called by functions in a "use server" context).
3 replies
Loading google fonts
I'm trying to load a google font with the <Link> component but it doesn't seem to be working
<Link href="https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Recursive:wght@300;400;500;600;700;800&display=swap" rel="stylesheet" />
It puts an <a> tag in the body with link=true as an attribute but nothing the font is not working.
93 replies