Skip to content

Commit

Permalink
fix(component): fix the injection error when using slandalone `Recapt…
Browse files Browse the repository at this point in the history
…chaV3Module`
  • Loading branch information
DethAriel committed Nov 25, 2023
1 parent 5d05cde commit c93b99c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions projects/demo/src/app/examples/v3/v3-demo.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
RECAPTCHA_LOADER_OPTIONS,
RecaptchaSettings,
RECAPTCHA_SETTINGS,
RecaptchaLoaderService,
} from "ng-recaptcha";

import { parseLangFromHref } from "../../parse-lang-from-href";
Expand Down
3 changes: 2 additions & 1 deletion projects/ng-recaptcha/src/lib/recaptcha-v3.module.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { NgModule } from "@angular/core";

import { ReCaptchaV3Service } from "./recaptcha-v3.service";
import { RecaptchaLoaderService } from "./recaptcha-loader.service";

@NgModule({
providers: [ReCaptchaV3Service],
providers: [ReCaptchaV3Service, RecaptchaLoaderService],
})
export class RecaptchaV3Module {}

0 comments on commit c93b99c

Please sign in to comment.