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
When users log out and log back in with the same profile, the profile
was being added to the profiles array again, causing duplicates in
the dropdown menu.
This change modifies the login action to check if a profile with the
same ID already exists before adding it. If it exists, the profile
is updated instead of creating a duplicate entry.
Fixes duplicate profile issue reported in PR comments.
Co-authored-by: Anguel <modelorona@users.noreply.github.com>
0 commit comments