From c072aff9da1c1dfb03d4a2143891a5b94d5f87b0 Mon Sep 17 00:00:00 2001 From: pavel Hamawand Date: Tue, 19 Mar 2024 01:02:39 +0100 Subject: [PATCH] added change username button --- frontend/src/Components/AdminUserList.tsx | 0 frontend/src/Components/UserInfoModal.tsx | 10 ++++++++++ frontend/src/Pages/AdminPages/AdminViewUserInfo.tsx | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 frontend/src/Components/AdminUserList.tsx diff --git a/frontend/src/Components/AdminUserList.tsx b/frontend/src/Components/AdminUserList.tsx new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/Components/UserInfoModal.tsx b/frontend/src/Components/UserInfoModal.tsx index fff6776..21970fb 100644 --- a/frontend/src/Components/UserInfoModal.tsx +++ b/frontend/src/Components/UserInfoModal.tsx @@ -1,3 +1,4 @@ +import { Link } from "react-router-dom"; import Button from "./Button"; import DeleteUser from "./DeleteUser"; import UserProjectListAdmin from "./UserProjectListAdmin"; @@ -30,6 +31,15 @@ function UserInfoModal(props: { }} type="button" /> + +