diff options
author | crupest <crupest@outlook.com> | 2021-06-08 21:16:15 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-08 21:16:15 +0800 |
commit | be3300b030f2f4e50655c5685a255582ba0b530d (patch) | |
tree | 1c7a3084aa6ada3318e2eb710eda02d27c7dfd75 /FrontEnd/src/app/views/home | |
parent | feba7fd89dbda04dc79c5a45b6e3e7ed48455a1b (diff) | |
download | timeline-be3300b030f2f4e50655c5685a255582ba0b530d.tar.gz timeline-be3300b030f2f4e50655c5685a255582ba0b530d.tar.bz2 timeline-be3300b030f2f4e50655c5685a255582ba0b530d.zip |
chore: Migrate to new prettier version.
Diffstat (limited to 'FrontEnd/src/app/views/home')
-rw-r--r-- | FrontEnd/src/app/views/home/index.tsx | 10 |
1 files changed, 6 insertions, 4 deletions
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<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") { |