Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Redirect after unfriending Space profile

Anand Baburajan0142df55bf3a
diff --git a/web/apps/space/src/components/AuthenticatedFriendProfile.tsx b/web/apps/space/src/components/AuthenticatedFriendProfile.tsx
index 21ccb1bd7a..b95d8f31dd 100644
--- a/web/apps/space/src/components/AuthenticatedFriendProfile.tsx
+++ b/web/apps/space/src/components/AuthenticatedFriendProfile.tsx
@@ -188,7 +188,9 @@ export const AuthenticatedFriendProfile: React.FC<
});
}}
onUnfriend={unfriend}
- onUnfriendComplete={() => window.location.reload()}
+ onUnfriendComplete={() =>
+ window.location.replace(spaceRoutes.friends)
+ }
postGroups={postGroups}
profile={displayedProfile}
showPostLoadingIndicator={false}