From b4e0441dd8b0a238d970d6c9382fd84d86e6e249 Mon Sep 17 00:00:00 2001 From: crupest 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 = (props) => { const [file, setFile] = React.useState(null); const [fileUrl, setFileUrl] = React.useState(null); const [clip, setClip] = React.useState(null); - const [ - cropImgElement, - setCropImgElement, - ] = React.useState(null); + const [cropImgElement, setCropImgElement] = + React.useState(null); const [resultBlob, setResultBlob] = React.useState(null); const [resultUrl, setResultUrl] = React.useState(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