Bug fixing the refactor, Modals not working nor the scroll fader.
This commit is contained in:
@ -63,13 +63,13 @@ export default class LoadableImage extends React.Component {
|
||||
let newProps = {...this.props};
|
||||
let { loading } = this.state;
|
||||
let { className, width, height } = this.props;
|
||||
|
||||
|
||||
["loadable"].forEach(e => delete newProps[e]);
|
||||
|
||||
let loader,imageSizer;
|
||||
let image = <Image
|
||||
{...newProps}
|
||||
className="o-loadable-image__image"
|
||||
className={`o-loadable-image__image ${className||""}`}
|
||||
onLoad={() => this.onLoad()}
|
||||
onError={() => this.onError()}
|
||||
/>;
|
||||
|
Reference in New Issue
Block a user