Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

96
Views
¿Falta alguna importación?

Tengo un problema con la importación porque he creado una entrada div como componente para usar en otras páginas. En este caso, página de registro:

 <Input placeholder="Email" name="email" {...register("email")} />

Pero esta entrada no recibe este registro como un componente.

 import { InputContainer } from "./styles" function Input({placeholder, register, name, error, ...rest}) { return ( <InputContainer isErrored={!!error}> <input placeholder={placeholder} {...register(name)} {...rest} /> </InputContainer> ) } export default Input

Recibí que el registro no es una función, pero lo había declarado antes, también en la página de registro:

 const { register, handleSubmit, formState: { errors }, } = useForm({ resolver:yupResolver(schema) })
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!