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/timeline-common/TimelinePageTemplate.tsx | |
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/timeline-common/TimelinePageTemplate.tsx')
-rw-r--r-- | FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx index baaad139..81a3c179 100644 --- a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx +++ b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx @@ -34,9 +34,10 @@ const TimelinePageTemplate: React.FC<TimelinePageTemplateProps> = (props) => { const { t } = useTranslation(); - const [state, setState] = React.useState< - "loading" | "done" | "offline" | "notexist" | "error" - >("loading"); + const [state, setState] = + React.useState<"loading" | "done" | "offline" | "notexist" | "error">( + "loading" + ); const [timeline, setTimeline] = React.useState<HttpTimelineInfo | null>(null); useReverseScrollPositionRemember(); |