Skip to content

Conversation

@btwshivam
Copy link
Collaborator

@btwshivam btwshivam commented Dec 17, 2025

The fix I applied should resolve the localStorage.getItem is not a function error. The issue was that the inline script was trying to access localStorage without checking if it exists first (which happens during server-side rendering).

The fix adds a check if (typeof localStorage !== 'undefined') before accessing localStorage, so it only runs in the browser environment where localStorage is available.

@netlify
Copy link

netlify bot commented Dec 17, 2025

Deploy Preview for kubestellar-docs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f0eb826
🔍 Latest deploy log https://app.netlify.com/projects/kubestellar-docs/deploys/69431d0c03b1f60008689f46
😎 Deploy Preview https://deploy-preview-425--kubestellar-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 Hello! @btwshivam Welcome to the Kubestellar.

Thank you for submitting your first Pull Request to KubeStellar. We are delighted to have you in our Universe!
Please make sure to check out our Contribution Guide and feel free to join our Slack channel for any questions.

@btwshivam
Copy link
Collaborator Author

@clubanderson

@btwshivam btwshivam merged commit 6c37178 into kubestellar:main Dec 17, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant