From 63a17824e585bf3585d0866890acac3c08436de0 Mon Sep 17 00:00:00 2001 From: Matchu Date: Sun, 8 Nov 2020 14:35:02 -0800 Subject: [PATCH] lint fixes --- src/app/GlobalHeader.js | 1 - src/app/UserItemsPage.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 (