Skip to content

Commit

Permalink
Fix: use role check in identification hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 committed Oct 14, 2023
1 parent 6906d55 commit 023696a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/identification.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const useIdentification = () => {
useEffect(() => {
if (
team &&
team.role === "GROUP" &&
settings?.round_breakpoint &&
new Date() > new Date(settings?.round_breakpoint) &&
!team.eliminated &&
Expand Down

0 comments on commit 023696a

Please sign in to comment.