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

275
Views
TypeError: no se pueden leer las propiedades de undefined (leyendo 'historia')

Creé cinco archivos de historias usando el libro de cuentos de reacción y todos se muestran en el libro de cuentos. Pero después del quinto, creé otros tres archivos de historias, pero ninguno de ellos se mostró y cada vez que creé estos archivos ocurrió el error anterior. Después de actualizar mi navegador, este error desaparece y mis cinco historias anteriores vuelven a mostrarse. ¿Por qué sucede esto? ¿Por qué no se muestran mis nuevas historias? ¿Cómo puedo arreglar esto?

Este es el primer archivo de historia donde ocurrió el error.

 import React from 'react'; import MyInput from '../components/MyInput'; export default { component: MyInput, title: 'Components/MyInput', }; const Template = args => <MyInput {...args} />; export const Primary = Template.bind({}); Primary.args = { id: "test", name: "test", type: text, value: "", onChange: {}, }; export const icon = Template.bind({}); icon.args = { id: "test", name: "test", type: text, value: "", onChange: {}, icon: "search", iconPosition: "left" };

y este es el componente relevante

 import React, { memo } from 'react'; import { Input } from 'semantic-ui-react'; function MyInput({ id, name, type, value, onEncyteInputChange, icon, iconPosition }) { return ( <Input id={id} name={name} type={type} value={value} onChange={onMyInputChange} icon={icon} iconPosition={iconPosition} /> ); } MyInput.propTypes = {}; export default memo(MyInput);

gracias de antemano

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!