2019-07-30 23:18:21 +00:00
|
|
|
import React from 'react';
|
2019-09-19 14:27:01 +00:00
|
|
|
import Window from "./Window";
|
2019-07-30 23:18:21 +00:00
|
|
|
|
|
|
|
class StorageNodeInit extends React.Component {
|
|
|
|
async componentDidMount() {
|
2019-09-09 16:01:53 +00:00
|
|
|
const info = await this.props.node
|
2019-07-30 23:18:21 +00:00
|
|
|
|
|
|
|
this.props.onClose()
|
2019-09-09 16:01:53 +00:00
|
|
|
//this.props.mountWindow((onClose) => <StorageNode node={info} fullRepo={this.props.fullRepo} fullConn={this.props.fullConn} pondClient={this.props.pondClient} onClose={onClose} mountWindow={this.props.mountWindow}/>)
|
2019-07-30 23:18:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
2019-09-19 14:27:01 +00:00
|
|
|
return <Window
|
2020-07-11 08:55:13 +00:00
|
|
|
title={"Miner initializing"}
|
2019-07-30 23:18:21 +00:00
|
|
|
initialPosition={'center'}>
|
|
|
|
<div className="CristalScroll">
|
|
|
|
<div className="StorageNodeInit">
|
|
|
|
Waiting for init, make sure at least one miner is enabled
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-09-19 14:27:01 +00:00
|
|
|
</Window>
|
2019-07-30 23:18:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default StorageNodeInit
|