fix readOnly warning for textarea without onChange
This commit is contained in:
parent
954a14758f
commit
2180a60c5a
|
@ -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>
|
||||
|
|
Reference in New Issue