mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-27 14:05:27 +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() {
|
componentDidMount() {
|
||||||
this.props.fetchEditorTabs();
|
this.props.fetchEditorTabs();
|
||||||
this.props.fetchContracts();
|
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));
|
window.addEventListener("resize", this.updateDimensions.bind(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ class FileExplorerRowContainer extends React.Component {
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<div style={this.props.style.container}
|
<div style={this.props.style.container[0]}
|
||||||
onMouseEnter={() => this.activateNode()}
|
onMouseEnter={() => this.activateNode()}
|
||||||
onMouseLeave={() => this.deactivateNode()}>
|
onMouseLeave={() => this.deactivateNode()}>
|
||||||
<span onClick={this.props.onClick}>
|
<span onClick={this.props.onClick}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user