mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-26 21:51:06 +00:00
fix(ui): white screen on text editor
Only happens on Firefox
This commit is contained in:
parent
66e431cf13
commit
10caddd872
@ -47,7 +47,9 @@ class EditorContainer extends React.Component {
|
||||
componentDidMount() {
|
||||
this.props.fetchEditorTabs();
|
||||
this.props.fetchContracts();
|
||||
this.props.fetchTransaction(this.props.debuggerTransactionHash);
|
||||
if (this.props.debuggerTransactionHash) {
|
||||
this.props.fetchTransaction(this.props.debuggerTransactionHash);
|
||||
}
|
||||
window.addEventListener("resize", this.updateDimensions.bind(this));
|
||||
}
|
||||
|
||||
|
@ -64,7 +64,7 @@ class FileExplorerRowContainer extends React.Component {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div style={this.props.style.container}
|
||||
<div style={this.props.style.container[0]}
|
||||
onMouseEnter={() => this.activateNode()}
|
||||
onMouseLeave={() => this.deactivateNode()}>
|
||||
<span onClick={this.props.onClick}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user