import React from 'react' import { Field, reduxForm } from 'redux-form' import Authbuttons from './authButtons' import { regValidate } from '../../utils/regValidate' import { regRenderField } from '../../common/regRenderField' const RegistrForm = props => { const { handleSubmit, pristine, reset, postUsersData } = props const submit = (values) => { values.avatar = "https://site.com" values.isAdmin = 0 values.description = "bad_boy" postUsersData(values) } return (