Skip to content

Commit

Permalink
fix: fix recipe name in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Dec 8, 2023
1 parent 477cc09 commit a47eda3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/build/multifactorauth-shared.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/ts/recipe/multifactorauth/recipe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default class MultiFactorAuth extends RecipeModule<

static getInstanceOrThrow(): MultiFactorAuth {
if (MultiFactorAuth.instance === undefined) {
let error = "No instance of EmailVerification found. Make sure to call the EmailVerification.init method.";
let error = "No instance of MultiFactorAuth found. Make sure to call the MultiFactorAuth.init method.";

// eslint-disable-next-line supertokens-auth-react/no-direct-window-object
if (typeof window === "undefined") {
Expand Down

0 comments on commit a47eda3

Please sign in to comment.