Skip to content

Commit

Permalink
🐛 fix: slove DOMPurify import error problem
Browse files Browse the repository at this point in the history
  • Loading branch information
ONLY-yours committed Apr 11, 2024
1 parent 96010e1 commit 5eccc85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Highlight/hooks/useShiki.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as DOMPurify from 'dompurify';
import DOMPurify from 'dompurify';
import { useEffect, useState } from 'react';
import { getHighlighter, type Highlighter } from 'shiki/bundle/web';
import { themeConfig } from '../theme';
Expand Down

0 comments on commit 5eccc85

Please sign in to comment.