diff options
Diffstat (limited to 'FrontEnd/src/app/views/home/index.tsx')
-rw-r--r-- | FrontEnd/src/app/views/home/index.tsx | 10 |
1 files changed, 4 insertions, 6 deletions
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<string>(""); - 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<HttpTimelineInfo[] | undefined>(); React.useEffect(() => { if (highlightTimelineState === "loading") { |