import Component from '@glimmer/component';
import { action } from '@ember/object';
import { tracked } from '@glimmer/tracking';

export default class FormButtonComponent extends Component {
  @tracked
  isActing = false;
  @action
  handleClick() {
    if (!this.isActing && this.args.onClick) {
      const ret = this.args.onClick();

      if (ret.finally) {
        this.isActing = true;
        ret.finally(() => (this.isActing = false));
      }
      return ret;
    }
  }
}

@@ -343,16 +343,23 @@
  if (ret
+ && ret
 .finally

Add guard for empty response