Merge pull request #2515 from paulkaplan/enfasten-remixing-further

Set isRemixing to true and then start remixing process
This commit is contained in:
Paul Kaplan 2018-12-20 08:31:58 -05:00 committed by GitHub
commit a196462818
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -446,7 +446,10 @@ class Preview extends React.Component {
}
}
handleRemix () {
this.props.remixProject();
// Update the state first before starting the remix to show spinner
this.setState({isRemixing: true}, () => {
this.props.remixProject();
});
}
handleSeeInside () {
this.setState({ // Remove any project alerts so they don't show up later