fix readOnly warning for textarea without onChange

This commit is contained in:
Karol Wypchlo 2020-02-27 12:00:58 +01:00
parent 954a14758f
commit 2180a60c5a
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ export default class UploadFile extends Component {
Copy Link
<Copy />
</div>
<textarea value={url} ref={this.urlRef} />
<textarea value={url} ref={this.urlRef} readOnly={true} />
</button>
)}
</div>