diff options
author | crupest <crupest@outlook.com> | 2021-06-08 21:19:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-08 21:19:48 +0800 |
commit | da26373c7fc13cded47428b27638b349b0432437 (patch) | |
tree | 594a1720aa6519c96d8e81a9d41ea328f5241887 /FrontEnd/src/app/views/center/TimelineBoard.tsx | |
parent | ee92c2b9fa4fc7bcb7234f75b7fbe00e1484a1d4 (diff) | |
parent | be3300b030f2f4e50655c5685a255582ba0b530d (diff) | |
download | timeline-da26373c7fc13cded47428b27638b349b0432437.tar.gz timeline-da26373c7fc13cded47428b27638b349b0432437.tar.bz2 timeline-da26373c7fc13cded47428b27638b349b0432437.zip |
Merge pull request #597 from crupest/dependabot/npm_and_yarn/FrontEnd/prettier-2.3.1
build(deps-dev): Bump prettier from 2.3.0 to 2.3.1 in /FrontEnd
Diffstat (limited to 'FrontEnd/src/app/views/center/TimelineBoard.tsx')
-rw-r--r-- | FrontEnd/src/app/views/center/TimelineBoard.tsx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/FrontEnd/src/app/views/center/TimelineBoard.tsx b/FrontEnd/src/app/views/center/TimelineBoard.tsx index 8cede394..35249f66 100644 --- a/FrontEnd/src/app/views/center/TimelineBoard.tsx +++ b/FrontEnd/src/app/views/center/TimelineBoard.tsx @@ -111,12 +111,11 @@ const TimelineBoardItemContainer: React.FC<TimelineBoardItemContainerProps> = ({ timelines, editHandler, }) => { - const [moveState, setMoveState] = - React.useState<null | { - index: number; - offset: number; - startPointY: number; - }>(null); + const [moveState, setMoveState] = React.useState<null | { + index: number; + offset: number; + startPointY: number; + }>(null); return ( <> @@ -307,8 +306,9 @@ const TimelineBoard: React.FC<TimelineBoardProps> = ({ load, editHandler, }) => { - const [timelines, setTimelines] = - React.useState<HttpTimelineInfo[] | "offline" | "loading">("loading"); + const [timelines, setTimelines] = React.useState< + HttpTimelineInfo[] | "offline" | "loading" + >("loading"); React.useEffect(() => { let subscribe = true; |