PanelImages check for container
@@ -264,6 +264,8 @@ class ImagesPanel extends React.Component {
}
componentDidMount() {
+ //TODO: Window resize?
+ if (this.container)
this.setState({containerWidth: this.container.clientWidth});
}
