         if e.keyCode == 13 and @state.title_text != ''
             @create_project()
 
+    shouldComponentUpdate: (next) ->
+        return @props.customer != next.customer
+
     render_upgrade_before_create : ->
-        {BillingPageSimplifiedRedux} = require('./billing')
-        {UpgradeAdjustorForUncreatedProject} = require('./project_settings')
-        redux.getActions('billing')?.update_customer()
         subs = @props.customer?.subscriptions?.total_count ? 0
         <Col sm=12>
             <h3>Upgrade to give your project internet access and more resources</h3>

        error            : ''

    start_editing : ->
        @setState
            state           : 'edit'
            title_text      : ''

{ErrorDisplay, Icon, Loading, LoginLink, ProjectState, Saving, Space, TimeAgo, Footer, r_join} = require('./r_misc')
{React, ReactDOM, Actions, Store, Table, redux, rtypes, rclass, Redux}  = require('./smc-react')
{User} = require('./users')
{BillingPageSimplifiedRedux} = require('./billing')
{UpgradeAdjustorForUncreatedProject} = require('./project_settings')

MAX_DEFAULT_PROJECTS = 50

