From a388109a8a05fd942b2699d74bcdd8add1631755 Mon Sep 17 00:00:00 2001 From: Davenludd Date: Fri, 15 Mar 2024 14:34:08 +0100 Subject: [PATCH] Add type attribute to button elements in Admin Pages --- frontend/src/Pages/AdminPages/AdminAddProject.tsx | 2 ++ frontend/src/Pages/AdminPages/AdminAddUser.tsx | 2 ++ frontend/src/Pages/AdminPages/AdminChangeUsername.tsx | 2 ++ frontend/src/Pages/AdminPages/AdminManageProjects.tsx | 2 ++ frontend/src/Pages/AdminPages/AdminManageUsers.tsx | 2 ++ frontend/src/Pages/AdminPages/AdminProjectAddMember.tsx | 2 ++ frontend/src/Pages/AdminPages/AdminProjectChangeUserRole.tsx | 2 ++ frontend/src/Pages/AdminPages/AdminProjectManageMembers.tsx | 2 ++ frontend/src/Pages/AdminPages/AdminProjectPage.tsx | 2 ++ frontend/src/Pages/AdminPages/AdminProjectStatistics.tsx | 1 + frontend/src/Pages/AdminPages/AdminProjectViewMemberInfo.tsx | 2 ++ frontend/src/Pages/AdminPages/AdminViewUserInfo.tsx | 2 ++ 12 files changed, 23 insertions(+) diff --git a/frontend/src/Pages/AdminPages/AdminAddProject.tsx b/frontend/src/Pages/AdminPages/AdminAddProject.tsx index 9fd8bed..2922400 100644 --- a/frontend/src/Pages/AdminPages/AdminAddProject.tsx +++ b/frontend/src/Pages/AdminPages/AdminAddProject.tsx @@ -11,12 +11,14 @@ function AdminAddProject(): JSX.Element { onClick={(): void => { return; }} + type="button" />