Fix props error
parent
640afb3f55
commit
4062a086ae
|
@ -52,7 +52,7 @@ const {arrayOf, func, number, shape, string} = PropTypes
|
||||||
|
|
||||||
VisView.propTypes = {
|
VisView.propTypes = {
|
||||||
view: string.isRequired,
|
view: string.isRequired,
|
||||||
axes: shape().isRequired,
|
axes: shape(),
|
||||||
queries: arrayOf(shape()).isRequired,
|
queries: arrayOf(shape()).isRequired,
|
||||||
cellType: string,
|
cellType: string,
|
||||||
templates: arrayOf(shape()),
|
templates: arrayOf(shape()),
|
||||||
|
|
|
@ -53,6 +53,7 @@ const Visualization = React.createClass({
|
||||||
getDefaultProps() {
|
getDefaultProps() {
|
||||||
return {
|
return {
|
||||||
cellName: '',
|
cellName: '',
|
||||||
|
cellType: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue