mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-23 04:28:19 +00:00
Fix bug with deleting all code
This commit is contained in:
parent
e027ae258a
commit
38032e1ef2
@ -29,7 +29,7 @@ class FiddleContainer extends Component {
|
||||
|
||||
}
|
||||
componentDidUpdate(prevProps){
|
||||
if(prevProps.lastFiddle !== this.props.lastFiddle){
|
||||
if(this.props.lastFiddle && (prevProps.lastFiddle !== this.props.lastFiddle)){
|
||||
this._onCodeChange(this.props.lastFiddle);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user