Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐜 Uncaught empty CodeExample error #859

Closed
JFWooten4 opened this issue Aug 2, 2024 · 0 comments
Closed

🐜 Uncaught empty CodeExample error #859

JFWooten4 opened this issue Aug 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JFWooten4
Copy link
Contributor

What version are you using?

stellar version 11.1.0

What did you do?

Create a code example with no content:

<CodeExample>

</CodeExample>

What did you expect to see?

× Error: empty CodeExample block at line XYZ.

What did you see instead?

Unclear error message (full below) or abbreviated to only Docusaurus error: the <Tabs> component requires at least one <TabItem> children component

Uncaught runtime errors:
× ERROR
Docusaurus error: the <Tabs> component requires at least one <TabItem> children component
    at getInitialStateValue (webpack-internal:///./node_modules/@docusaurus/theme-common/lib/utils/tabsUtils.js:22:1108)
    at eval (webpack-internal:///./node_modules/@docusaurus/theme-common/lib/utils/tabsUtils.js:25:275)
    at mountState (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:16987:20)
    at Object.useState (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:17700:16)
    at useState (webpack-internal:///./node_modules/react/cjs/react.development.js:1624:21)
    at useTabs (webpack-internal:///./node_modules/@docusaurus/theme-common/lib/utils/tabsUtils.js:25:270)
    at TabsComponent (webpack-internal:///./node_modules/@docusaurus/theme-classic/lib/theme/Tabs/index.js:20:515)
    at renderWithHooks (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:16306:18)
    at mountIndeterminateComponent (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:20070:13)
    at beginWork (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:21583:16)
@JFWooten4 JFWooten4 added the bug Something isn't working label Aug 2, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Dev Docs Aug 2, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in Dev Docs Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants
@JFWooten4 @briwylde08 and others