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

fix: Ensure the 'Solve' button in the tutorial works #1171

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

rschristian
Copy link
Member

@rschristian rschristian commented Jul 23, 2024

re: https://x.com/danvitoriano/status/1815851188643926179

Missed in the CodeMirror 6 migration -- we're essentially now using a slug prop to determine when CodeMirror needs to swap out the code content vs letting its internal state continue to handle changes. As such, this PR adds a ?solved redirect to address this.

Keep in mind that solutionCtx.solved can have additional requirements, like having the user click a button to test their new event handler, so we can't reuse it.

@rschristian rschristian merged commit 58a8669 into master Jul 24, 2024
5 checks passed
@rschristian rschristian deleted the fix/tutorial-solve branch July 24, 2024 05:42
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.

2 participants