Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mainDocumentResolver assumes drafts perspective #8986

Closed
mariusGundersen opened this issue Mar 19, 2025 · 1 comment · Fixed by #9005
Closed

mainDocumentResolver assumes drafts perspective #8986

mariusGundersen opened this issue Mar 19, 2025 · 1 comment · Fixed by #9005
Assignees

Comments

@mariusGundersen
Copy link
Contributor

This line:

assumes drafts perspective when trying to resolve the main document given a path. It should use the current perspective to do so.

summon @pedrobonamin

@mariusGundersen
Copy link
Contributor Author

The result is that the main document isn't found if it's created in a release and therefore doesn't exist in the draft.

I tried usunt the perspectiveStack from usePerspective and that worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants