add placeholder for error handling

This commit is contained in:
Eric Rosenbaum 2021-05-17 15:44:08 -04:00
parent 7bfb045c4f
commit 33a0be0e35

View file

@ -38,6 +38,12 @@ const StudioReport = ({
const handleChange = event => handleSetField(event.target.value);
return (
<div>
{error && (
<div>
<div>There was an error. Try again later?</div>
<div><code><pre>{error}</pre></code></div>
</div>
)}
{canReport && (
<button onClick={handleOpen}><FormattedMessage id="general.report" /></button>
)}