Skip to content

Commit 15c74d9

Browse files
committed
Remove isStarted prop from GreenFlagOverlay
Since scratchfoundation#3885, the GreenFlagOverlay has been hidden by the Stage component instead of having to hide itself if the project has been started. Thus there's no need for GreenFlagOverlay to know whether the project has been started.
1 parent bc801cb commit 15c74d9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/containers/green-flag-overlay.jsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ class GreenFlagOverlay extends React.Component {
2121
}
2222

2323
render () {
24-
if (this.props.isStarted) return null;
25-
2624
return (
2725
<Box
2826
className={this.props.wrapperClass}
@@ -42,13 +40,11 @@ class GreenFlagOverlay extends React.Component {
4240

4341
GreenFlagOverlay.propTypes = {
4442
className: PropTypes.string,
45-
isStarted: PropTypes.bool,
4643
vm: PropTypes.instanceOf(VM),
4744
wrapperClass: PropTypes.string
4845
};
4946

5047
const mapStateToProps = state => ({
51-
isStarted: state.scratchGui.vmStatus.started,
5248
vm: state.scratchGui.vm
5349
});
5450

0 commit comments

Comments
 (0)