Skip to content

Commit

Permalink
refactor: consistency fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Dec 11, 2023
1 parent 457bfe4 commit bcba405
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/build/passwordless-shared4.js

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

2 changes: 2 additions & 0 deletions lib/build/recipe/passwordless/types.d.ts

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

Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ const OTPLoadingScreen: React.FC = () => {
);
};

export const LoadingScreen = withOverride("OTPLoadingScreen", OTPLoadingScreen);
export const LoadingScreen = withOverride("PasswordlessMFAOTPLoadingScreen_Override", OTPLoadingScreen);
2 changes: 2 additions & 0 deletions lib/ts/recipe/passwordless/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
*/

import type { LinkClickedScreen } from "./components/themes/linkClickedScreen";
import type { LoadingScreen } from "./components/themes/mfa/loadingScreen";
import type { MFAFooter } from "./components/themes/mfa/mfaFooter";
import type { MFAHeader } from "./components/themes/mfa/mfaHeader";
import type { MFAOTPFooter } from "./components/themes/mfa/mfaOTPFooter";
Expand Down Expand Up @@ -434,4 +435,5 @@ export type ComponentOverrideMap = {
PasswordlessMFAFooter_Override?: ComponentOverride<typeof MFAFooter>;
PasswordlessMFAOTPHeader_Override?: ComponentOverride<typeof MFAOTPHeader>;
PasswordlessMFAOTPFooter_Override?: ComponentOverride<typeof MFAOTPFooter>;
PasswordlessMFAOTPLoadingScreen_Override?: ComponentOverride<typeof LoadingScreen>;
};

0 comments on commit bcba405

Please sign in to comment.