You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the console error message carefully (if applicable).
Description
I got an error: Cannot read properties of null (reading 'type')
Reproducible demo
No response
Steps to reproduce
<Tabs><TabItemvalue="apple"label="Apple"default>
This is an apple 🍎
</TabItem><TabItemvalue="orange"label="Orange">
This is an orange 🍊
</TabItem>{1===0?<TabItemvalue="banana"label="Banana">
This is a banana 🍌
</TabItem>:null}</Tabs>
Expected behavior
Do not render third Tab
Actual behavior
Your environment
Docusaurus version used: 2.3.1
Environment name and version (e.g. Chrome 89, Node.js 16.4): Chrome
Operating system and version (e.g. Ubuntu 20.04.2 LTS): Windows11
Activity
baur commentedon Mar 21, 2023
same behavior md and mdx