Skip to content
Snippets Groups Projects
Commit d6332223 authored by Ray Schamp's avatar Ray Schamp
Browse files

Make Blocks.isVisible true by default

This shouldn't be required.
parent f5044dc2
No related branches found
No related tags found
No related merge requests found
......@@ -208,7 +208,7 @@ class Blocks extends React.Component {
}
Blocks.propTypes = {
isVisible: PropTypes.bool.isRequired,
isVisible: PropTypes.bool,
options: PropTypes.shape({
media: PropTypes.string,
zoom: PropTypes.shape({
......@@ -260,6 +260,7 @@ Blocks.defaultOptions = {
};
Blocks.defaultProps = {
isVisible: true,
options: Blocks.defaultOptions
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment