@ -81,8 +81,8 @@ class Cropper extends Component {
$.ajaxSetup({
cache: true
});
const isDev = isDev()
let _path = isDev ? 'public' : 'build'
const _isDev = isDev()
let _path = _isDev ? 'public' : 'build'
$('head').append($('<link rel="stylesheet" type="text/css" />')
.attr('href', `${_url_origin}/react/${_path}/js/cropper/cropper.min.css`));
@ -59,7 +59,7 @@ class ChangeHeaderPicModal extends Component{
if (visible) {
setTimeout(() => {
this.init()
}, 300)
}, 500)
}