Skip to content

Commit 64cdb47

Browse files
eslteacher902010coseeian
authored andcommitted
Fix: use ESM import for githubLight theme in CodeEmbed (builds cleanly under Astro/Vite)
1 parent 2f5e593 commit 64cdb47

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/CodeEmbed/index.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import { CodeFrame } from "./frame";
88
import { CopyCodeButton } from "../CopyCodeButton";
99
import CircleButton from "../CircleButton";
1010
import { Icon } from "../Icon";
11-
import { githubLight} from '@uiw/codemirror-theme-github';
11+
import { githubLight } from '@uiw/codemirror-theme-github';
12+
1213

1314
/*
1415
* A more featured code embed component that uses CodeMirror

0 commit comments

Comments
 (0)