Merge branch 'remove-follow-suggestion' into 'develop'
Fix follow suggestion removal See merge request soapbox-pub/soapbox!2565
This commit is contained in:
commit
ade9fa007d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue