From 47587812b809fee2a95c76266d9d0e42fc4ac1ca Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Tue, 15 Jun 2021 14:14:28 +0800
Subject: ...

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

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

diff --git a/FrontEnd/src/app/views/user/index.tsx b/FrontEnd/src/app/views/user/index.tsx
deleted file mode 100644
index 57454d0d..00000000
--- a/FrontEnd/src/app/views/user/index.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import React from "react";
-import { useParams } from "react-router";
-
-import TimelinePageTemplate from "../timeline-common/TimelinePageTemplate";
-import UserCard from "./UserCard";
-
-const UserPage: React.FC = () => {
-  const { username } = useParams<{ username: string }>();
-
-  const [reloadKey, setReloadKey] = React.useState<number>(0);
-
-  let dialogElement: React.ReactElement | undefined;
-
-  return (
-    <>
-      <TimelinePageTemplate
-        timelineName={`@${username}`}
-        notFoundI18nKey="timeline.userNotExist"
-        reloadKey={reloadKey}
-        onReload={() => setReloadKey(reloadKey + 1)}
-        CardComponent={UserCard}
-      />
-      {dialogElement}
-    </>
-  );
-};
-
-export default UserPage;
-- 
cgit v1.2.3

