Fix props error

pull/10616/head
Andrew Watkins 2017-08-02 12:47:57 -07:00
parent 640afb3f55
commit 4062a086ae
2 changed files with 2 additions and 1 deletions

View File

@ -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()),

View File

@ -53,6 +53,7 @@ const Visualization = React.createClass({
getDefaultProps() { getDefaultProps() {
return { return {
cellName: '', cellName: '',
cellType: '',
} }
}, },