From be3300b030f2f4e50655c5685a255582ba0b530d Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Tue, 8 Jun 2021 21:16:15 +0800
Subject: chore: Migrate to new prettier version.

---
 FrontEnd/src/app/views/timeline-common/Timeline.tsx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'FrontEnd/src/app/views/timeline-common/Timeline.tsx')

diff --git a/FrontEnd/src/app/views/timeline-common/Timeline.tsx b/FrontEnd/src/app/views/timeline-common/Timeline.tsx
index 7b56d129..589382b0 100644
--- a/FrontEnd/src/app/views/timeline-common/Timeline.tsx
+++ b/FrontEnd/src/app/views/timeline-common/Timeline.tsx
@@ -26,10 +26,9 @@ export interface TimelineProps {
 const Timeline: React.FC<TimelineProps> = (props) => {
   const { timelineName, className, style, reloadKey } = props;
 
-  const [state, setState] =
-    React.useState<
-      "loading" | "loaded" | "offline" | "notexist" | "forbid" | "error"
-    >("loading");
+  const [state, setState] = React.useState<
+    "loading" | "loaded" | "offline" | "notexist" | "forbid" | "error"
+  >("loading");
   const [posts, setPosts] = React.useState<HttpTimelinePostInfo[]>([]);
 
   React.useEffect(() => {
@@ -43,8 +42,9 @@ const Timeline: React.FC<TimelineProps> = (props) => {
     onReload.current = props.onReload;
   }, [props.onReload]);
 
-  const onConnectionStateChanged =
-    React.useRef<((state: HubConnectionState) => void) | null>(null);
+  const onConnectionStateChanged = React.useRef<
+    ((state: HubConnectionState) => void) | null
+  >(null);
 
   React.useEffect(() => {
     onConnectionStateChanged.current = props.onConnectionStateChanged ?? null;
-- 
cgit v1.2.3

