From ffa5d76316ccec4edc307d0432ef10fb18436c63 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 16 Nov 2020 16:04:26 +0800 Subject: fix: Fix 404 page double nav bug. --- FrontEnd/src/app/App.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'FrontEnd/src') diff --git a/FrontEnd/src/app/App.tsx b/FrontEnd/src/app/App.tsx index 4e53d4da..01b1883b 100644 --- a/FrontEnd/src/app/App.tsx +++ b/FrontEnd/src/app/App.tsx @@ -15,13 +15,7 @@ import { dataStorage } from "./services/common"; import { userService, useRawUser } from "./services/user"; const NoMatch: React.FC = () => { - return ( - <> - -
-
Ah-oh, 404!
- - ); + return
Ah-oh, 404!
; }; const LazyAdmin = React.lazy( -- cgit v1.2.3