mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Merge pull request #2515 from paulkaplan/enfasten-remixing-further
Set isRemixing to true and then start remixing process
This commit is contained in:
commit
a196462818
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue