-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its execution
Description
🐛 Bug Report
Prerequisites
- I'm using the latest version of Docusaurus.
- I have tried the
npm run clearoryarn clearcommand. - I have tried
rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages. - I have tried creating a repro with https://new.docusaurus.io
- I have read the console error message carefully (if applicable)
Description
I try to use MDX using livecodeblock , everything is okay until I try to delete all code on the live editor and when i press delete one more time my screen getting blank and my console give me this code : Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.
Have you read the Contributing Guidelines on issues?
Yes
Expected behavior
i can delete my code on the live editor.
Actual behavior
console code : Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.
Your environment
- Public source code: https://github.com/fiqryq/fiqrychoerudin
- Public site URL: localhost / https://fiqrychoerudin.vercel.app/
- Docusaurus version used: 2.0.0-beta.6
- Environment name and version (chrome Version 93.0.4577.63 (Official Build) (x86_64) , Node.js 14.17.6 LTS):
- Operating system and version (Mac OS Big Sur 11.5.2):
Reproducible demo
Use https://new.docusaurus.io to create a CodeSandbox reproducible demo of the bug.
(Paste the link to an example repo, including a docusaurus.config.js, and exact instructions to reproduce the issue.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its execution
