You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InviteFriends.tsx does not track which users have already been invited. Clicking "Invite" a second time sends another request without indicating the invite is already pending.
Acceptance Criteria
After a successful invite, the button state changes to "Invited" and is disabled.
The invited state persists for the session (local state or React Query cache).
If the friend has already sent a request to the current user, the button shows "Accept request" instead.
Description
InviteFriends.tsxdoes not track which users have already been invited. Clicking "Invite" a second time sends another request without indicating the invite is already pending.Acceptance Criteria