Skip to content

Commit 95dc2e2

Browse files
authored
Update CodeTabs.tsx
Signed-off-by: Claudio Wunder <cwunder@gnome.org>
1 parent 5ab50a1 commit 95dc2e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ui-components/src/MDX/CodeTabs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ const MDXCodeTabs: FC<MDXCodeTabsProps> = ({
2121
defaultTab = '0',
2222
...props
2323
}) => {
24-
const occurrences: Record<string, number> = {};
25-
2624
const { tabs, languages } = useMemo(() => {
25+
const occurrences: Record<string, number> = {};
26+
2727
const languages = rawLanguages.split('|');
2828
const displayNames = rawDisplayNames?.split('|') ?? [];
2929

0 commit comments

Comments
 (0)