diff --git a/src/pages/innerMod.tsx b/src/pages/innerMod.tsx index 7d7a8d6..30720df 100644 --- a/src/pages/innerMod.tsx +++ b/src/pages/innerMod.tsx @@ -1,5 +1,4 @@ import { formatDate } from 'date-fns' -import DOMPurify from 'dompurify' import { Filter, nip19 } from 'nostr-tools' import { Dispatch, SetStateAction, useCallback, useRef, useState } from 'react' import { useNavigate, useParams } from 'react-router-dom' @@ -16,13 +15,13 @@ import { useAppSelector, useDidMount } from '../hooks' import '../styles/comments.css' import '../styles/downloads.css' import '../styles/innerPage.css' +import '../styles/popup.css' import '../styles/post.css' import '../styles/reactions.css' import '../styles/styles.css' import '../styles/tabs.css' import '../styles/tags.css' import '../styles/write.css' -import '../styles/popup.css' import { ModDetails, PaymentRequest } from '../types' import { abbreviateNumber, @@ -32,6 +31,7 @@ import { getFilenameFromUrl, log, LogType, + sanitizeAndAddTargetBlank, unformatNumber } from '../utils' @@ -370,7 +370,7 @@ const Body = ({