Improve how errors are displayed in the UI
This commit is contained in:
@@ -11,7 +11,6 @@ export function fetchSuggestions() {
|
||||
api(getState).get('/api/v1/accounts/suggestions').then(response => {
|
||||
dispatch(fetchSuggestionsSuccess(response.data));
|
||||
}).catch(error => {
|
||||
console.error(error);
|
||||
dispatch(fetchSuggestionsFail(error));
|
||||
});
|
||||
};
|
||||
|
Reference in New Issue
Block a user