shadcn
shadcn
@andyg5000 Sorry. Been busy with Next.js conf :) IIRC I had do to this workaround because of a bug in next-auth. Maybe they fixed it? I'll update my local example...
I updated to the latest `next-auth` and I couldn't get this to work. For the reason, I'm always seeing the refresh token as expired. I'll keep looking...
Hmm. Is there any difference, say permissions, on your prod site vs the dev one? If the relationship `field_form` exists and the Next.js site has access to it, it should...
I see. We assume that the `defaultLocale` on the Next.js site is always the same as the Drupal one. > The defaultLocale of next.js is not always the same as...
@Kerchik Is this on local? It's probably the cookie not being set when in an iframe. Can you try the following where you create the `DrupalClient`? ``` export const drupal...
Hmm, what happens if you copy the iframe URL and open it in a new tab? Does it enable preview?
Confirmed this is a bug. Thanks for the suggested fix. Looking into it. Happy to have you here @jrockowitz :)
@Fredkiss3 I just learnt about using `useTransition` from timneutkens yesterday. I'll add this fix. Merci 👍
@Fredkiss3 I pushed a fixed for this.
Yep. It's in progress. Note: this is a demo app. The content is all temp. Do not use it to build your blog 😬