Skip to content

Publish perspective not showing any content #112

@agreaste

Description

@agreaste

If you find a security vulnerability, do NOT open an issue. Email [email protected] instead.

Describe the bug

Published preview now showing unless you open Live Preview.

To Reproduce

Steps to reproduce the behavior:

  1. Install project
  2. Run npm run import-sample-data
  3. Run npm run dev
  4. Navigate to http://localhost:3000
  5. See post section showing onboarding instead of posts list
    Expected behavior

Should show existing documents

Screenshots
If applicable, add screenshots to help explain your problem.

Which versions of Sanity are you using?
@sanity/cli 3.75.1

What operating system are you using?
Macos Sonoma 14.0
Which versions of Node.js / npm are you running?
npm 10.8.1
node v22.4.1

Additional context

Add any other context about the problem here.

Security issue?

Any security issues should be submitted directly to [email protected]. In order to determine whether you are dealing with a security issue, ask yourself these two questions:

  • Can I access something that's not mine, or something I shouldn't have access to?
  • Can I disable something for other people? If the answer to either of those two questions are "yes", then you're probably dealing with a security issue. Note that even if you answer "no" to both questions, you may still be dealing with a security issue, so if you're unsure, just email us at [[email protected]](mailto:[email protected].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions