From b4e0441dd8b0a238d970d6c9382fd84d86e6e249 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Mon, 10 May 2021 23:10:09 +0800
Subject: chore: Migrate to prettier 2.3.0.

---
 .../src/app/views/settings/ChangeAvatarDialog.tsx  | 25 +++++++++++-----------
 1 file changed, 12 insertions(+), 13 deletions(-)

(limited to 'FrontEnd/src/app/views/settings/ChangeAvatarDialog.tsx')

diff --git a/FrontEnd/src/app/views/settings/ChangeAvatarDialog.tsx b/FrontEnd/src/app/views/settings/ChangeAvatarDialog.tsx
index 53ffbc8d..bad21dd5 100644
--- a/FrontEnd/src/app/views/settings/ChangeAvatarDialog.tsx
+++ b/FrontEnd/src/app/views/settings/ChangeAvatarDialog.tsx
@@ -24,22 +24,21 @@ const ChangeAvatarDialog: React.FC<ChangeAvatarDialogProps> = (props) => {
   const [file, setFile] = React.useState<File | null>(null);
   const [fileUrl, setFileUrl] = React.useState<string | null>(null);
   const [clip, setClip] = React.useState<Clip | null>(null);
-  const [
-    cropImgElement,
-    setCropImgElement,
-  ] = React.useState<HTMLImageElement | null>(null);
+  const [cropImgElement, setCropImgElement] =
+    React.useState<HTMLImageElement | null>(null);
   const [resultBlob, setResultBlob] = React.useState<Blob | null>(null);
   const [resultUrl, setResultUrl] = React.useState<string | null>(null);
 
-  const [state, setState] = React.useState<
-    | "select"
-    | "crop"
-    | "processcrop"
-    | "preview"
-    | "uploading"
-    | "success"
-    | "error"
-  >("select");
+  const [state, setState] =
+    React.useState<
+      | "select"
+      | "crop"
+      | "processcrop"
+      | "preview"
+      | "uploading"
+      | "success"
+      | "error"
+    >("select");
 
   const [message, setMessage] = useState<
     string | { type: "custom"; text: string } | null
-- 
cgit v1.2.3

