From 0c31e8fce0a6f8c564c18e71283fe79975fc31ce Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Mon, 28 Apr 2025 10:39:19 -0700 Subject: [PATCH] add user as default role --- client/src/Components/TabPanels/Account/TeamPanel.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/Components/TabPanels/Account/TeamPanel.jsx b/client/src/Components/TabPanels/Account/TeamPanel.jsx index 72ff55eee..e20d859f2 100644 --- a/client/src/Components/TabPanels/Account/TeamPanel.jsx +++ b/client/src/Components/TabPanels/Account/TeamPanel.jsx @@ -25,7 +25,7 @@ const TeamPanel = () => { const [toInvite, setToInvite] = useState({ email: "", - role: ["0"], + role: ["user"], }); const [data, setData] = useState([]); const [members, setMembers] = useState([]); @@ -107,7 +107,7 @@ const TeamPanel = () => { const handleChange = (event) => { const { value } = event.target; - const newEmail = value?.toLowerCase() || value + const newEmail = value?.toLowerCase() || value; setToInvite((prev) => ({ ...prev, email: newEmail,