Skip to content

Commit

Permalink
Fix Lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
dedsecrattle committed Nov 5, 2024
1 parent 07b5eec commit dcd5a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/util/ProtectedRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const ProtectedRoute = ({ element, userId }: ProtectedRouteProps): ReactElement
};

checkRoomAccess();
}, [roomNumber]);
}, [roomNumber, userId]);

if (hasAccess === null) {
return <div>Loading...</div>;
Expand Down

0 comments on commit dcd5a1f

Please sign in to comment.