Skip to content

Fix navigator access during server-side rendering - #2474

Open
Debagithub567 wants to merge 2 commits into
graphql:sourcefrom
Debagithub567:fix/2471-ssr
Open

Fix navigator access during server-side rendering#2474
Debagithub567 wants to merge 2 commits into
graphql:sourcefrom
Debagithub567:fix/2471-ssr

Conversation

@Debagithub567

Copy link
Copy Markdown
Contributor

Closes #2471.

Moves the PDF preview into a dedicated client component so browser-specific APIs (navigator) are no longer accessed during server-side rendering while preserving the existing PDF preview behavior.

Changes

  • Extracted PDF preview into a dedicated client component.
  • Removed browser-only logic from the server-rendered page.
  • Preserved the existing PDF preview behavior.

Testing

  • Verified the session detail page renders correctly in development.
  • Verified pnpm build completes successfully.
  • Confirmed PDF previews continue to render in supported browsers.

@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown

@Debagithub567 is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
graphql-github-io Ready Ready Preview Jul 31, 2026 8:54pm

Request Review

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Schedule session page accesses navigator during server-side rendering

1 participant