shadcn

Results 1086 comments of shadcn

OK I found the issue and pushed a fix for it. Can you try the latest dev and let me know? `composer require 'drupal/next:1.0.x-dev@dev'`

Hmm probably something with `latest-version` and `working-copy`. I tested this locally with a published revision and a draft latest revision. I had to go back to the docs to check...

hmm, can you temporarily disable preview mode for this entity type and check if you see the expected version?

Here's what I have: https://user-images.githubusercontent.com/124599/152150761-967aa473-2b3f-4d22-998a-62e8457d510b.mp4

Nothing special on the Next.js site. Here's the file https://github.com/chapter-three/next-drupal/blob/cd2ed5c86e23c8c5c364e6094a93033cb955edc0/examples/example-marketing/pages/%5B%5B...slug%5D%5D.tsx#L62-L127 On the Drupal side, I've enabled content_moderation and added `Basic Page` to the *Editorial* workflow.

Sure. I'm going to see if I can reproduce the issue with the basic starter today.

@senguendk Yep you were right. I updated the code in the basic starter to handle revision. Check it out. ```tsx export async function getStaticPaths(context): Promise { return { paths: await...