Skip to content

Commit

Permalink
apply code review changes
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksander Bodurri <[email protected]>
  • Loading branch information
AhmedHalat and AleksanderBodurri authored Sep 24, 2024
1 parent f743006 commit e500373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/ngx-turnstile/src/lib/ngx-turnstile.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class NgxTurnstileComponent implements OnDestroy {
private zone: NgZone,
@Inject(DOCUMENT) private document: Document,
) {
afterNextRender(this.createWidget.bind(this));
afterNextRender(() => this.createWidget());
}

private _getCloudflareTurnstileUrl(): string {
Expand Down

0 comments on commit e500373

Please sign in to comment.