From 93ce8560fa19c3a91de99643fdbbe4f895a47b84 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Thu, 11 Jun 2020 17:27:15 +0800
Subject: feat(front): Service worker is coming!

---
 .../ClientApp/src/user/ChangeNicknameDialog.tsx    | 28 ----------------------
 1 file changed, 28 deletions(-)
 delete mode 100644 Timeline/ClientApp/src/user/ChangeNicknameDialog.tsx

(limited to 'Timeline/ClientApp/src/user/ChangeNicknameDialog.tsx')

diff --git a/Timeline/ClientApp/src/user/ChangeNicknameDialog.tsx b/Timeline/ClientApp/src/user/ChangeNicknameDialog.tsx
deleted file mode 100644
index 393d88f6..00000000
--- a/Timeline/ClientApp/src/user/ChangeNicknameDialog.tsx
+++ /dev/null
@@ -1,28 +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"
-      titleColor="default"
-      inputScheme={[
-        { type: 'text', label: 'userPage.dialogChangeNickname.inputLabel' }
-      ]}
-      onProcess={([newNickname]) => {
-        return props.onProcess(newNickname as string);
-      }}
-      close={props.close}
-    />
-  );
-};
-
-export default ChangeNicknameDialog;
-- 
cgit v1.2.3

