mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-10 14:16:47 +00:00
Fix bug with deleting all code
This commit is contained in:
parent
d7f1749d3a
commit
76f8c53c5d
@ -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