diff --git a/packages/docusaurus-theme-classic/src/theme/Tabs/index.js b/packages/docusaurus-theme-classic/src/theme/Tabs/index.js index d1f9933759b2..a2b9d883fd97 100644 --- a/packages/docusaurus-theme-classic/src/theme/Tabs/index.js +++ b/packages/docusaurus-theme-classic/src/theme/Tabs/index.js @@ -31,7 +31,7 @@ function Tabs(props) { ))}
- {children.filter(child => child.props.value === selectedValue)[0]} + {[...children].filter(child => child.props.value === selectedValue)[0]}
);