Skip to content

Commit

Permalink
DON-950: Remove usage of ngx-matomo library from Donation Start Form
Browse files Browse the repository at this point in the history
  • Loading branch information
bdsl committed Mar 26, 2024
1 parent dc2cabd commit a3509e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ function makeDonationStartFormComponent(donationService: DonationService,) {
undefined as unknown as ElementRef<any>,
undefined as unknown as FormBuilder,
mockIdentityService,
{
trackEvent: () => {
}
} as unknown as MatomoTracker,
{
trackEvent: () => {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ import {MatSnackBar} from '@angular/material/snack-bar';
import {MatStepper} from '@angular/material/stepper';
import {ActivatedRoute, Router} from '@angular/router';
import {RecaptchaComponent} from 'ng-recaptcha';
import {MatomoTracker} from 'ngx-matomo';
import {MatomoTracker as MatomoClientTracker} from 'ngx-matomo-client';
import {MatomoTracker} from 'ngx-matomo-client';
import {debounceTime, distinctUntilChanged, retryWhen, startWith, switchMap, tap} from 'rxjs/operators';
import {
PaymentIntent,
Expand Down Expand Up @@ -250,7 +249,6 @@ export class DonationStartFormComponent implements AfterContentChecked, AfterCon
private formBuilder: FormBuilder,
private identityService: IdentityService,
private matomoTracker: MatomoTracker,
private matomoClientTracker: MatomoClientTracker,
private pageMeta: PageMetaService,
private postcodeService: PostcodeService,
@Inject(PLATFORM_ID) private platformId: Object,
Expand Down

0 comments on commit a3509e4

Please sign in to comment.