aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/views/timeline-common/Timeline.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-05-10 23:10:09 +0800
committercrupest <crupest@outlook.com>2021-05-10 23:10:09 +0800
commitb4e0441dd8b0a238d970d6c9382fd84d86e6e249 (patch)
treefa8d497b0176d6c7bde35ba95feed254b780e25f /FrontEnd/src/app/views/timeline-common/Timeline.tsx
parent9a5a7ec68b81894e6731e34ada1fba2d513e7b02 (diff)
downloadtimeline-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/Timeline.tsx')
-rw-r--r--FrontEnd/src/app/views/timeline-common/Timeline.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/Timeline.tsx b/FrontEnd/src/app/views/timeline-common/Timeline.tsx
index 72d38ffd..32d0bdd5 100644
--- a/FrontEnd/src/app/views/timeline-common/Timeline.tsx
+++ b/FrontEnd/src/app/views/timeline-common/Timeline.tsx
@@ -22,9 +22,10 @@ export interface TimelineProps {
const Timeline: React.FC<TimelineProps> = (props) => {
const { timelineName, className, style, reloadKey, onReload } = 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(() => {