import React from 'react'; import Link from 'component/link'; import {FormRow} from 'component/form' import Modal from '../component/modal.js'; import lbry from '../lbry.js'; class ReportPage extends React.Component { constructor(props) { super(props); this.state = { submitting: false, modal: null, }; } submitMessage() { if (this._messageArea.value) { this.setState({ submitting: true }); lbry.reportBug(this._messageArea.value, () => { this.setState({ submitting: false, modal: 'submitted', }); }); this._messageArea.value = ''; } } closeModal() { this.setState({ modal: null, }) } render() { return (

Report an Issue

Please describe the problem you experienced and any information you think might be useful to us. Links to screenshots are great!

this._messageArea = t} rows="10" name="message" placeholder="Description of your issue" />

Developer?

You can also .
{ this.closeModal(event) }}> Your bug report has been submitted! Thank you for your feedback.
); } } export default ReportPage;