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

Defining stars value up front and adding fallback #2931

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

gjones
Copy link
Contributor

@gjones gjones commented Dec 19, 2024

Summary

There's a production level issue that needs fixing asap. When going from ClickHouse.com to docs, we're getting the following error TypeError: Cannot read properties of undefined (reading 'stars').

I cannot reproduce in any other environment, but in theory this PR should protect against this error by first defining a value for stars before everything else loads.

CleanShot 2024-12-19 at 13 57 40@2x

@gjones gjones added the bug Something isn't working label Dec 19, 2024
@gjones gjones requested a review from gingerwizard December 19, 2024 19:00
@gjones gjones self-assigned this Dec 19, 2024
@gingerwizard gingerwizard merged commit 7b3210c into main Dec 19, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants