solid-docs icon indicating copy to clipboard operation
solid-docs copied to clipboard

Docs code editor does not update when moving between lessons

Open apieceofbart opened this issue 3 years ago • 0 comments

Describe the bug

  1. Go to https://www.solidjs.com/tutorial/props_defaults
  2. Click on "greetings.tsx" in the code editor
  3. Click on next lesson (it will navigate you to Splitting Props lesson)

Now check the "main.tsx" - it has the same code as "greetings.tsx". It should be obviously different (refresh the page to see te correct code)

Your Example Website or App

https://www.solidjs.com/tutorial/props_defaults

Steps to Reproduce the Bug or Issue

  1. Go to https://www.solidjs.com/tutorial/props_defaults
  2. Click on "greetings.tsx" in the code editor
  3. Click on next lesson (it will navigate you to Splitting Props lesson)

Now check the "main.tsx" - it has the same code as "greetings.tsx". It should be obviously different (refresh the page to see te correct code)

Expected behavior

It should show the correct code

Screenshots or Videos

No response

Platform

  • OS: macOS
  • Browser: Chrome
  • Version: 101

Additional context

No response

apieceofbart avatar May 30 '22 20:05 apieceofbart