diff --git a/src/app/GlobalHeader.js b/src/app/GlobalHeader.js index 2571f8a..f3328dd 100644 --- a/src/app/GlobalHeader.js +++ b/src/app/GlobalHeader.js @@ -8,7 +8,6 @@ import { MenuButton, MenuList, MenuItem, - useBreakpointValue, } from "@chakra-ui/core"; import { HamburgerIcon } from "@chakra-ui/icons"; import { Link, useLocation } from "react-router-dom"; diff --git a/src/app/UserItemsPage.js b/src/app/UserItemsPage.js index 8de90f7..6a1a081 100644 --- a/src/app/UserItemsPage.js +++ b/src/app/UserItemsPage.js @@ -323,7 +323,7 @@ function MarkdownAndSafeHTML({ children }) { ALLOWED_ATTR: ["href", "class"], // URL must either start with an approved host (external link), or with a // slash or hash (internal link). - ALLOWED_URI_REGEXP: /^https?:\/\/(impress\.openneo\.net|impress-2020\.openneo\.net|www\.neopets\.com|neopets\.com)\/|^[\/#]/, + ALLOWED_URI_REGEXP: /^https?:\/\/(impress\.openneo\.net|impress-2020\.openneo\.net|www\.neopets\.com|neopets\.com)\/|^[/#]/, }); return (