diff options
author | crupest <crupest@outlook.com> | 2021-06-08 21:16:15 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-08 21:16:15 +0800 |
commit | be3300b030f2f4e50655c5685a255582ba0b530d (patch) | |
tree | 1c7a3084aa6ada3318e2eb710eda02d27c7dfd75 /FrontEnd/src/app/views/common/ImageCropper.tsx | |
parent | feba7fd89dbda04dc79c5a45b6e3e7ed48455a1b (diff) | |
download | timeline-be3300b030f2f4e50655c5685a255582ba0b530d.tar.gz timeline-be3300b030f2f4e50655c5685a255582ba0b530d.tar.bz2 timeline-be3300b030f2f4e50655c5685a255582ba0b530d.zip |
chore: Migrate to new prettier version.
Diffstat (limited to 'FrontEnd/src/app/views/common/ImageCropper.tsx')
-rw-r--r-- | FrontEnd/src/app/views/common/ImageCropper.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/FrontEnd/src/app/views/common/ImageCropper.tsx b/FrontEnd/src/app/views/common/ImageCropper.tsx index 371ab0b1..2ef5b7ed 100644 --- a/FrontEnd/src/app/views/common/ImageCropper.tsx +++ b/FrontEnd/src/app/views/common/ImageCropper.tsx @@ -40,8 +40,9 @@ export interface ImageCropperProps { const ImageCropper = (props: ImageCropperProps): React.ReactElement => { const { clip, imageUrl, onChange, imageElementCallback, className } = props; - const [oldState, setOldState] = - React.useState<ImageCropperSavedState | null>(null); + const [oldState, setOldState] = React.useState<ImageCropperSavedState | null>( + null + ); const [imageInfo, setImageInfo] = React.useState<ImageInfo | null>(null); const normalizeClip = (c: Clip | null | undefined): NormailizedClip => { |