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 Link
|
||||||
<Copy />
|
<Copy />
|
||||||
</div>
|
</div>
|
||||||
<textarea value={url} ref={this.urlRef} />
|
<textarea value={url} ref={this.urlRef} readOnly={true} />
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in New Issue