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 404202d commit 990b282Copy full SHA for 990b282
lib/Code/Code.Client.tsx
@@ -1,13 +1,12 @@
1
'use client';
2
3
-import clsx from 'clsx';
+import { transformerNotationHighlight } from '@shikijs/transformers';
4
import { Components, toJsxRuntime } from 'hast-util-to-jsx-runtime';
5
import type { JSX } from 'react';
6
import { Fragment, useLayoutEffect, useState } from 'react';
7
import { jsx, jsxs } from 'react/jsx-runtime';
8
import type { BundledLanguage } from 'shiki/bundle/web';
9
import { CodeBlockComponent } from './Code';
10
-import { transformerNotationHighlight } from '@shikijs/transformers';
11
12
const highlight = async (
13
code: string,
0 commit comments