Mahdi Naser Moghadasi commited on
Commit
8286756
·
1 Parent(s): 51fee5f

Add key prop to Monaco Editor to force re-render when code changes

Browse files

- Added key prop based on code content to ensure editor updates
- This should fix the issue where code doesn't display on desktop
- Editor will now properly show starter code when question is selected

1 file changed +1
components/CodeEditor.tsx+1