Fix the delete suggestion button not working and using a deprecated endpoint (#34396)
This commit is contained in:
1 parent
ebfd48b0f2
commit
d81983f181
2 files changed
+2
-2
No files matched your search
@@ -25,7 +25,7 @@ export const Card = ({ id, source }) => {
|
||||
const dispatch = useDispatch();
|
||||
|
||||
const handleDismiss = useCallback(() => {
|
||||
dispatch(dismissSuggestion(id));
|
||||
dispatch(dismissSuggestion({ accountId: id }));
|
||||
}, [id, dispatch]);
|
||||
|
||||
let label;
|
||||
|
||||
Reference in new issue
Block a user