@forgeroute/ui 0.5.15 → 0.5.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5101,11 +5101,11 @@ var PaymentStripeBodyComponent = class PaymentStripeBodyComponent {
5101
5101
  this.ctx().setBusy(false);
5102
5102
  }
5103
5103
  };
5104
- effect(() => {
5104
+ effect((onCleanup) => {
5105
5105
  const config = this.config();
5106
5106
  untracked(() => config.attachControls(controls));
5107
+ onCleanup(() => config.detachControls(controls));
5107
5108
  });
5108
- inject(DestroyRef).onDestroy(() => this.config().detachControls(controls));
5109
5109
  }
5110
5110
  onElementChange(change) {
5111
5111
  this.complete.set(change.complete);