diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2021-05-10 15:12:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 15:12:49 +0000 |
commit | 98a3374d13d89e20ac210eb5f5c17dae902a5942 (patch) | |
tree | fa8d497b0176d6c7bde35ba95feed254b780e25f /FrontEnd/src/app/views/common/ImageCropper.tsx | |
parent | 137cfad1eaea5885b23e0acf852d9c31f4bb74a0 (diff) | |
parent | b4e0441dd8b0a238d970d6c9382fd84d86e6e249 (diff) | |
download | timeline-98a3374d13d89e20ac210eb5f5c17dae902a5942.tar.gz timeline-98a3374d13d89e20ac210eb5f5c17dae902a5942.tar.bz2 timeline-98a3374d13d89e20ac210eb5f5c17dae902a5942.zip |
Merge pull request #516 from crupest/dependabot/npm_and_yarn/FrontEnd/prettier-2.3.0
Diffstat (limited to 'FrontEnd/src/app/views/common/ImageCropper.tsx')
-rw-r--r-- | FrontEnd/src/app/views/common/ImageCropper.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/FrontEnd/src/app/views/common/ImageCropper.tsx b/FrontEnd/src/app/views/common/ImageCropper.tsx index 2ef5b7ed..371ab0b1 100644 --- a/FrontEnd/src/app/views/common/ImageCropper.tsx +++ b/FrontEnd/src/app/views/common/ImageCropper.tsx @@ -40,9 +40,8 @@ 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 => { |