Skip to content

Commit 9ad64f0

Browse files
author
amvanbaren
committed
DOMPurify default import
1 parent 56a500e commit 9ad64f0

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)