Fix for momentary lack of state.account

This commit is contained in:
Ben Gotow 2017-10-16 19:12:07 -07:00
parent 68c567f03d
commit 23e6302128

View file

@ -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>