feature: add LoadingScreen in with-daemon-status-check
This commit is contained in:
parent
a07c724f12
commit
c89cc6ee2a
|
@ -1,6 +1,8 @@
|
||||||
// @flow
|
// @flow
|
||||||
import React, { type ComponentType, Component } from 'react';
|
import React, { type ComponentType, Component } from 'react';
|
||||||
|
|
||||||
|
import { LoadingScreen } from './loading-screen';
|
||||||
|
|
||||||
import rpc from '../../services/api';
|
import rpc from '../../services/api';
|
||||||
|
|
||||||
type State = {
|
type State = {
|
||||||
|
@ -51,6 +53,6 @@ export const withDaemonStatusCheck = <PassedProps: {}>(
|
||||||
return <WrappedComponent {...this.props} {...this.state} />;
|
return <WrappedComponent {...this.props} {...this.state} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 'Daemon is starting...';
|
return <LoadingScreen />;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue