From b4e0441dd8b0a238d970d6c9382fd84d86e6e249 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 10 May 2021 23:10:09 +0800 Subject: chore: Migrate to prettier 2.3.0. --- FrontEnd/src/app/views/home/index.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'FrontEnd/src/app/views/home') diff --git a/FrontEnd/src/app/views/home/index.tsx b/FrontEnd/src/app/views/home/index.tsx index 0eca23ee..484260b0 100644 --- a/FrontEnd/src/app/views/home/index.tsx +++ b/FrontEnd/src/app/views/home/index.tsx @@ -19,12 +19,10 @@ const HomeV2: React.FC = () => { const [navText, setNavText] = React.useState(""); - const [highlightTimelineState, setHighlightTimelineState] = React.useState< - "loading" | "done" | "error" - >("loading"); - const [highlightTimelines, setHighlightTimelines] = React.useState< - HttpTimelineInfo[] | undefined - >(); + const [highlightTimelineState, setHighlightTimelineState] = + React.useState<"loading" | "done" | "error">("loading"); + const [highlightTimelines, setHighlightTimelines] = + React.useState(); React.useEffect(() => { if (highlightTimelineState === "loading") { -- cgit v1.2.3