mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 17:51:13 -05:00
Refactor: Complete API and cache improvements
This commit is contained in:
@@ -64,8 +64,8 @@ export function useProfileUpdateMutation() {
|
||||
invalidateProfileStats(userId);
|
||||
invalidateProfileActivity(userId);
|
||||
|
||||
// If display name changed, invalidate user search results
|
||||
if (updates.display_name) {
|
||||
// If display name or username changed, invalidate user search results
|
||||
if (updates.display_name || updates.username) {
|
||||
invalidateUserSearch();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user