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