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