diff options
author | crupest <crupest@outlook.com> | 2021-05-10 23:10:09 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-05-10 23:10:09 +0800 |
commit | 5dcc741b5ef4391969532e1af3cc4a15bfad6000 (patch) | |
tree | 6cb77791f80fc7a755e6bd95f81d76c11e21c6c0 /FrontEnd/src/app/views/home/index.tsx | |
parent | 17f7af5d3f7333d727b6d873e08e49245993d592 (diff) | |
download | timeline-5dcc741b5ef4391969532e1af3cc4a15bfad6000.tar.gz timeline-5dcc741b5ef4391969532e1af3cc4a15bfad6000.tar.bz2 timeline-5dcc741b5ef4391969532e1af3cc4a15bfad6000.zip |
chore: Migrate to prettier 2.3.0.
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") { |