mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-02 05:19:31 +08:00
Fix for momentary lack of state.account
This commit is contained in:
parent
68c567f03d
commit
23e6302128
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ class InitialPreferencesPage extends React.Component
|
|||
@setState(account: AccountStore.accounts()[0])
|
||||
|
||||
render: =>
|
||||
return (<div/>) unless @state.account
|
||||
<div className="page opaque" style={width:900, height:620}>
|
||||
<h1 style={paddingTop: 100}>Welcome to Mailspring</h1>
|
||||
<h4 style={marginBottom: 70}>Let's set things up to your liking.</h4>
|
||||
|
|
Loading…
Reference in a new issue