Skip to content

Commit b45a6d8

Browse files
committed
fix: adding the css
1 parent fe3d995 commit b45a6d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Code/Code.Client.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
'use client';
2+
import { transformerNotationHighlight } from '@shikijs/transformers';
23
import { Components, toJsxRuntime } from 'hast-util-to-jsx-runtime';
34
import type { JSX } from 'react';
45
import { Fragment, useLayoutEffect, useState } from 'react';
56
import { jsx, jsxs } from 'react/jsx-runtime';
67
import type { BundledLanguage } from 'shiki/bundle/web';
78
import { CodeBlockComponent } from './Code';
8-
import { transformerNotationHighlight } from '@shikijs/transformers';
9+
import './Code.css';
910

1011
const highlight = async (
1112
code: string,

0 commit comments

Comments
 (0)