       callback : =>
         @showBusy "Working..."
         @machine.jMachine.approve (err)=>
-          unless kd.showError err
+          unless showError err
             @_busy = no
             @buildInitial()
 

ComputeHelpers = require './computehelpers'
sendDataDogEvent = require '../util/sendDataDogEvent'
HelpSupportModal = '../commonviews/helpsupportmodal'


module.exports = class EnvironmentsMachineStateModal extends EnvironmentsModalView

    whoami().isEmailVerified (err, verified)=>

      kd.warn err  if err?

      debugger

      if not verified
        @buildVerifyView()
