From b4e0441dd8b0a238d970d6c9382fd84d86e6e249 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 10 May 2021 23:10:09 +0800 Subject: chore: Migrate to prettier 2.3.0. --- FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx') 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 = (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(null); useReverseScrollPositionRemember(); -- cgit v1.2.3