Removed more old styleUrlElement refs

This commit is contained in:
orangemug 2019-10-27 17:42:45 +00:00
parent 225e5c48e4
commit dffa54afb0

View file

@ -123,9 +123,8 @@ class OpenModal extends React.Component {
})
}
onOpenUrl = () => {
const url = this.styleUrlElement.value;
this.onStyleSelect(url);
onOpenUrl = (url) => {
this.onStyleSelect(this.state.styleUrl);
}
onUpload = (_, files) => {