Skip to content

Commit

Permalink
slight logic change (functionality unchanged)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEinstein committed Nov 5, 2023
1 parent 282a6aa commit 3c90448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dynamic/user/Team.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const Team = ({ user, setUser }) => {
};

const handleJoin = () => {
if (id.team.length === 0) {
if (id.team == null) {
toast("❌ Enter a Valid Team ID");
return;
}
Expand Down

0 comments on commit 3c90448

Please sign in to comment.