diff --git a/embark-ui/src/containers/ApplicationPreviewContainer.js b/embark-ui/src/containers/ApplicationPreviewContainer.js index 443e4181..1b880ae5 100644 --- a/embark-ui/src/containers/ApplicationPreviewContainer.js +++ b/embark-ui/src/containers/ApplicationPreviewContainer.js @@ -1,11 +1,11 @@ -import PropTypes from 'prop-types'; import React from 'react'; class ApplicationPreviewContainer extends React.Component { constructor(props) { super(props); + this.state = { - previewUrl: props.previewUrl || 'http://localhost:8000' + previewUrl: 'http://localhost:8000' }; } @@ -13,7 +13,7 @@ class ApplicationPreviewContainer extends React.Component { return (