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 | 5dcc741b5ef4391969532e1af3cc4a15bfad6000 (patch) | |
tree | 6cb77791f80fc7a755e6bd95f81d76c11e21c6c0 /FrontEnd/src/app/views/timeline-common/Timeline.tsx | |
parent | 17f7af5d3f7333d727b6d873e08e49245993d592 (diff) | |
download | timeline-5dcc741b5ef4391969532e1af3cc4a15bfad6000.tar.gz timeline-5dcc741b5ef4391969532e1af3cc4a15bfad6000.tar.bz2 timeline-5dcc741b5ef4391969532e1af3cc4a15bfad6000.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.tsx | 7 |
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(() => { |