Skip to content

Conversation

@Prateek-Wayne
Copy link
Contributor

@Prateek-Wayne Prateek-Wayne commented Jun 4, 2025

This PR addresses the issue where reloading the page in Tree view causes the app to crash due to an null JSON string being parsed.
By ensuring that the zustand store always initializes with valid JSON (i.e., "{}"), we eliminate the risk of invalid JSON parsing in the Tree view component.

Before Fix:

Before.Fix.mov

After Fix:

AfterFix.mov

closes #477

@Prateek-Wayne
Copy link
Contributor Author

Hi @AykutSarac ,Could you please review this ,once you get some moment :)

@Prateek-Wayne
Copy link
Contributor Author

Hey @AykutSarac,
Hope you’re doing well! Just circling back on this PR — let me know if there’s anything I can improve or clarify.
Thanks again!

@AykutSarac AykutSarac merged commit 82a5664 into AykutSarac:main Jun 19, 2025
1 check passed
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.

[BUG]: Crash on startup with Tree view

2 participants