We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ab50a1 commit 95dc2e2Copy full SHA for 95dc2e2
packages/ui-components/src/MDX/CodeTabs.tsx
@@ -21,9 +21,9 @@ const MDXCodeTabs: FC<MDXCodeTabsProps> = ({
21
defaultTab = '0',
22
...props
23
}) => {
24
- const occurrences: Record<string, number> = {};
25
-
26
const { tabs, languages } = useMemo(() => {
+ const occurrences: Record<string, number> = {};
+
27
const languages = rawLanguages.split('|');
28
const displayNames = rawDisplayNames?.split('|') ?? [];
29
0 commit comments