From 967795e1a69a253a0743e16eaae9f90274075501 Mon Sep 17 00:00:00 2001 From: LASER-Yi Date: Sat, 19 Mar 2022 02:16:23 +0800 Subject: [PATCH] Fix issue when using base URL #1767 --- frontend/src/App/Header.tsx | 4 ++-- frontend/src/utilities/env.ts | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/App/Header.tsx b/frontend/src/App/Header.tsx index c4af1bb51..d5a1753fd 100644 --- a/frontend/src/App/Header.tsx +++ b/frontend/src/App/Header.tsx @@ -3,7 +3,7 @@ import { ActionButton, SearchBar } from "@/components"; import { setSidebar } from "@/modules/redux/actions"; import { useIsOffline } from "@/modules/redux/hooks"; import { useReduxAction } from "@/modules/redux/hooks/base"; -import { useGotoHomepage, useIsMobile } from "@/utilities"; +import { Environment, useGotoHomepage, useIsMobile } from "@/utilities"; import { faBars, faHeart, @@ -83,7 +83,7 @@ const Header: FunctionComponent = () => {