Merge branch 'remove-follow-suggestion' into 'develop'

Fix follow suggestion removal

See merge request soapbox-pub/soapbox!2565
environments/review-develop-3zknud/deployments/3521
Alex Gleason 1 year ago
commit ade9fa007d

@ -123,7 +123,7 @@ const useDismissSuggestion = () => {
return useMutation((accountId: string) => api.delete(`/api/v1/suggestions/${accountId}`), {
onMutate(accountId: string) {
removePageItem(SuggestionKeys.suggestions, accountId, (o: any, n: any) => o.account_id === n);
removePageItem(SuggestionKeys.suggestions, accountId, (o: any, n: any) => o.account === n);
},
});
};

Loading…
Cancel
Save