export const saveProfileThunkCreator = (editDataAboutMe) => {
return (dispatch, getState) => {
return (async()=>{
const authUserId = getState().auth.id
let data = await profileAPI.saveProfile(editDataAboutMe)
if (data.resultCode === 0) {
dispatch(setUserProfileThunkCreator(authUserId))
} else {
dispatch(stopSubmit('AboutMeEditForm', {_error: data.messages[0]}))
throw ""
}
)()
}
}
<th id="price">Цена</th>