/*import { useFormHandler, TextInput } from "../../form"

import { UserProps } from "../props"
import { userValidation } from "../validation"

const initialData = {
  name: '',
  email: '',
  password: '',
  passwordAgain: ''
}

const UserEditForm = ({ user }: UserProps) => {
  const [updateUser, userEdit] = useUserUpdateMutation()
  const { inputProps, values } = useFormHandler({ ...initialData, ...user })

  return (
    <form onSubmit={async (event: React.SyntheticEvent) => {
      event.preventDefault()
      await updateUser({ variables: { id: user.id, data: '12' } })
    }}>
      <TextInput label='Name' {...inputProps('name')} />
      <TextInput label='Email' {...inputProps('email')} />
      <TextInput label='Password' {...inputProps('password')} />
      <TextInput label='Repeat password' {...inputProps('passwordAgain')} />
      <button type='submit' disabled={userEdit.loading}>Update</button>
    </form>
  )
}
*/

const UserEditForm = () => <p>nothing here.</p>;
export default UserEditForm;
