Skip to content

Commit

Permalink
[frontend] fix dompurify import
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumejparis committed Dec 20, 2024
1 parent 85d5ad4 commit d84169b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion openbas-front/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export default [
'import/resolver': 'oxc',
'import/ignore': [
'react-apexcharts', // ignore react-apexcharts as the default export is broken
'dompurify',
],
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { AttachFileRounded, ExpandLess, ExpandMore } from '@mui/icons-material';
import { Avatar, Button, Card, CardContent, CardHeader, IconButton } from '@mui/material';
import { lightBlue } from '@mui/material/colors';
import { makeStyles, useTheme } from '@mui/styles';
import DOMPurify from 'dompurify';
import * as DOMPurify from 'dompurify';
import parse from 'html-react-parser';
import { useState } from 'react';

Expand Down

0 comments on commit d84169b

Please sign in to comment.