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 | b4e0441dd8b0a238d970d6c9382fd84d86e6e249 (patch) | |
tree | fa8d497b0176d6c7bde35ba95feed254b780e25f /FrontEnd/src/app/views/home | |
parent | 9a5a7ec68b81894e6731e34ada1fba2d513e7b02 (diff) | |
download | timeline-b4e0441dd8b0a238d970d6c9382fd84d86e6e249.tar.gz timeline-b4e0441dd8b0a238d970d6c9382fd84d86e6e249.tar.bz2 timeline-b4e0441dd8b0a238d970d6c9382fd84d86e6e249.zip |
chore: Migrate to prettier 2.3.0.
Diffstat (limited to 'FrontEnd/src/app/views/home')
-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") { |