Documentation for Migrating Document Actions seems to be incorrect #5495
Unanswered
ask4clarity
asked this question in
Requests for comment (RFC)
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I recently migrated a studio from v2 to v3. Excited to get into some of the new features now that all the plugins I needed are up to date.
I did find one issue with the guide here -
https://www.sanity.io/docs/migrating-document-actions-badges
It provides this example
But when I tried to use PublishAction I got an error in the bundler saying it didn't exist. I ended up getting the functionality I needed from this part of the docs -
https://www.sanity.io/docs/document-actions#9f3cecbfeaa1
Tell me if I'm misunderstanding, I just couldn't find a reference to PublishAction anywhere but the v2 docs.
Beta Was this translation helpful? Give feedback.
All reactions