Skip to content

Commit 5e1e571

Browse files
authored
Merge pull request #1137 from amvanbaren/dompurify-default-import
DOMPurify default import
2 parents 56a500e + 9ad64f0 commit 5e1e571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webui/src/components/sanitized-markdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import React, { FunctionComponent, useEffect } from 'react';
1212
import * as MarkdownIt from 'markdown-it';
1313
import * as MarkdownItAnchor from 'markdown-it-anchor';
14-
import * as DOMPurify from 'dompurify';
14+
import DOMPurify from 'dompurify';
1515
import { Theme, styled } from '@mui/material/styles';
1616
import linkIcon from './link-icon';
1717
import { useLocation } from 'react-router-dom';

0 commit comments

Comments
 (0)