mirror of
https://github.com/mudabbir-ahmad/peworkshop.git
synced 2026-10-07 19:50:20 +00:00
Made it so the team members page shows more than one user and fixed the issue so that multiple users can join the same team. Team GUI needs to be worked on however.
This commit is contained in:
1 parent
6b87e0f7fb
commit
95b4f9cc07
6 files changed
+50
-93
No files matched your search
@@ -41,6 +41,7 @@ export default function TeamSelection() {
|
||||
throw new Error(data.error || "Failed to join team");
|
||||
}
|
||||
|
||||
// Navigate to the team page using the correct URL format
|
||||
window.location.href = `/${data.teamId}`;
|
||||
} catch (err) {
|
||||
setError(err.message);
|
||||
|
||||
Reference in new issue
Block a user