In the Friend Comparison section, if I enter an incorrect/non-existent username, the profile fails to load and shows “Failed to load profile.”
The issue is that this invalid entry is still added to the comparison list, but unlike successfully loaded friends, it does not have a delete/remove option.
This leaves the invalid username stuck in the list with no way for the user to remove it.
Steps to reproduce
Open the extension and go to the Friend Comparison section.
Enter an incorrect or non-existent username.
Click the + button to add it.
The entry appears with “Failed to load profile.”
Notice that there is no delete/remove button for this entry.
Expected behavior
Invalid or failed profile entries should either:
Not be added to the comparison list at all, or
Have the same remove/delete option as other friends.
Actual behavior
The invalid username remains in the comparison list and cannot be removed from the UI.
Screenshot

The screenshot shows the invalid entry Arpan_kumar_4104 with “Failed to load profile”, while the valid entries below it have a delete icon.
This makes it impossible to clean up an accidentally entered username without potentially refreshing/reloading the extension.
In the Friend Comparison section, if I enter an incorrect/non-existent username, the profile fails to load and shows “Failed to load profile.”
The issue is that this invalid entry is still added to the comparison list, but unlike successfully loaded friends, it does not have a delete/remove option.
This leaves the invalid username stuck in the list with no way for the user to remove it.
Steps to reproduce
Open the extension and go to the Friend Comparison section.
Enter an incorrect or non-existent username.
Click the + button to add it.
The entry appears with “Failed to load profile.”
Notice that there is no delete/remove button for this entry.
Expected behavior
Invalid or failed profile entries should either:
Not be added to the comparison list at all, or
Have the same remove/delete option as other friends.
Actual behavior
The invalid username remains in the comparison list and cannot be removed from the UI.
Screenshot
This makes it impossible to clean up an accidentally entered username without potentially refreshing/reloading the extension.