From 19265fb44fe0970e0a6c9afe8f2b48571aee9e75 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Mon, 15 Feb 2021 01:23:24 +0800
Subject: feat: Move change avatar and nickname to settings.

---
 .../src/app/views/user/ChangeNicknameDialog.tsx    | 27 ----------------------
 1 file changed, 27 deletions(-)
 delete mode 100644 FrontEnd/src/app/views/user/ChangeNicknameDialog.tsx

(limited to 'FrontEnd/src/app/views/user/ChangeNicknameDialog.tsx')

diff --git a/FrontEnd/src/app/views/user/ChangeNicknameDialog.tsx b/FrontEnd/src/app/views/user/ChangeNicknameDialog.tsx
deleted file mode 100644
index f319ac37..00000000
--- a/FrontEnd/src/app/views/user/ChangeNicknameDialog.tsx
+++ /dev/null
@@ -1,27 +0,0 @@
-import React from "react";
-
-import OperationDialog from "../common/OperationDialog";
-
-export interface ChangeNicknameDialogProps {
-  open: boolean;
-  close: () => void;
-  onProcess: (newNickname: string) => Promise<void>;
-}
-
-const ChangeNicknameDialog: React.FC<ChangeNicknameDialogProps> = (props) => {
-  return (
-    <OperationDialog
-      open={props.open}
-      title="userPage.dialogChangeNickname.title"
-      inputScheme={[
-        { type: "text", label: "userPage.dialogChangeNickname.inputLabel" },
-      ]}
-      onProcess={([newNickname]) => {
-        return props.onProcess(newNickname);
-      }}
-      close={props.close}
-    />
-  );
-};
-
-export default ChangeNicknameDialog;
-- 
cgit v1.2.3

