11 |
12 |

 

13 |

Share Image

14 |
{ 15 | event.preventDefault() 16 | const description = this.imageDescription.value 17 | this.props.uploadImage(description) 18 | }} > 19 | 20 |
21 |

22 | { this.imageDescription = input }} 26 | className="form-control" 27 | placeholder="Image description..." 28 | required /> 29 |
30 | 31 |
32 |

 

33 | { this.props.images.map((image, key) => { 34 | return( 35 |
36 |
37 | 43 | {image.author} 44 |
45 |
    46 |
  • 47 |

    48 |

    {image.description}

    49 |
  • 50 |
  • 51 | 52 | TIPS: {window.web3.utils.fromWei(image.tipAmount.toString(), 'Ether')} ETH 53 | 54 | 65 |
  • 66 |
67 |
68 | ) 69 | })} 70 |
71 |