Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. Uncaught TypeError: Super expression must either be null or a function, not undefined
  2. at _inherits (index.js:22398)
  3. at index.js:22407
  4. at Object.<anonymous> (index.js:22479)
  5. at __webpack_require__ (index.js:20)
  6. at Object.<anonymous> (index.js:9755)
  7. at __webpack_require__ (index.js:20)
  8. at module.exports (index.js:63)
  9. at index.js:66
  10.  
  11. class Input extends React.Component () {
  12.  
  13. constructor(props) {
  14. super(props);
  15. this.state = {
  16. lies : [],
  17. userInput : "",
  18. divStyle : {
  19. width : 460,
  20. margin : "auto",
  21. backgroundColor : "lightgrey"
  22. }
  23. }
  24. }
  25.  
  26. /.../ Здесь пропущены функции связанные с imputom и сохранением пользовательской информации
  27.  
  28. return (
  29. <div>
  30. <input onChange = {refreshInput} type = 'text'></input>
  31. <button onClick = {crecaeNote}></button>
  32. <br/>
  33. <ul>
  34. {lies}
  35. </ul>
  36. </div>
  37. )
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement