Fix DM message content overflowing

This commit is contained in:
2019-11-27 21:52:14 -05:00
parent 731e01c552
commit f7ef0cb333
3 changed files with 108 additions and 48 deletions

View File

@@ -25,6 +25,15 @@ export const getDirectMessages = () => (dispatch) => {
dispatch({type: SET_NOT_LOADING_UI_2});
dispatch({type: CLEAR_ERRORS});
})
.catch((err) => {
console.error(err);
dispatch({
type: SET_ERRORS,
payload: {
errors: err.response.data.error
}
});
})
}
export const getNewDirectMessages = () => (dispatch) => {