Fixes code style

This commit is contained in:
Roman Galochkin 2020-03-04 09:11:23 +03:00
parent f45b4b763a
commit de25eef2f6

View File

@ -41,7 +41,7 @@ function CdfChartReact(props) {
.set('maxX', props.maxX) .set('maxX', props.maxX)
.set('minX', props.minX) .set('minX', props.minX)
.set('onHover', props.onHover) .set('onHover', props.onHover)
.set('marginBottom',props.marginBottom || 15) .set('marginBottom', props.marginBottom || 15)
.set('marginLeft', 30) .set('marginLeft', 30)
.set('marginRight', 30) .set('marginRight', 30)
.set('marginTop', 5) .set('marginTop', 5)
@ -59,8 +59,7 @@ function CdfChartReact(props) {
discrete: props.discrete, discrete: props.discrete,
}) })
.render(); .render();
} } catch (e) {
catch(e) {
console.error("distPlotD3 Error: ", e) console.error("distPlotD3 Error: ", e)
} }
}); });