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 = () => { onOpenUrl = (url) => {
const url = this.styleUrlElement.value; this.onStyleSelect(this.state.styleUrl);
this.onStyleSelect(url);
} }
onUpload = (_, files) => { onUpload = (_, files) => {