mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-25 00:25:03 +08:00
fix(default-client): Set initial state to fix React warning
This commit is contained in:
parent
93131a11c7
commit
40ca758766
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ class DefaultMailClientItem extends React.Component {
|
|||
|
||||
constructor() {
|
||||
super();
|
||||
this.state = {};
|
||||
this.state = {defaultClient: false};
|
||||
this._services = new LaunchServices();
|
||||
if (this._services.available()) {
|
||||
this._services.isRegisteredForURLScheme('mailto', (registered) => {
|
||||
|
|
Loading…
Reference in a new issue