Describe the bug
Switch to blocks pops error in editor which opened form the doc under Jacdac section
Steps to reproduce the behavior
1.Navigate to https://makecode.microbit.org/beta.
2.Jacdac->Button smasher->Show Instruction.
3.Click 'Try in MakeCode' in template.
4.Switch to Blocks editor by clicking Blocks.
Actual behavior:
Cannot switch to Blocks editor and pops-up error.
Expected behavior:
Switch to Blocks editor with no error.
Describe the bug Switch to blocks pops error in editor which opened form the doc under Jacdac section
Steps to reproduce the behavior 1.Navigate to https://makecode.microbit.org/beta. 2.Jacdac->Button smasher->Show Instruction. 3.Click 'Try in MakeCode' in template. 4.Switch to Blocks editor by clicking Blocks.
Actual behavior: Cannot switch to Blocks editor and pops-up error.
Expected behavior: Switch to Blocks editor with no error.
Screen Recording:![switchcode](https://github.com/microsoft/pxt-microbit/assets/148834117/5339c6c4-469f-41c6-9f65-c75eb626f99e)
Additional context: 1.OS: Windows 11 2.makecode.microbit,org version: 7.0.4 3.Microsoft MakeCode version: 10.0.11