Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fmorency committed Dec 13, 2024
1 parent dda24dd commit fc9a44e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion wallets/web3auth/src/extension/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class Web3AuthClient implements WalletClient {
if (
(this.#options?.loginProvider === LOGIN_PROVIDER.EMAIL_PASSWORDLESS ||
this.#options?.loginProvider === LOGIN_PROVIDER.SMS_PASSWORDLESS) &&
this.#options.loginHint === undefined
this.#loginHint === undefined
) {
throw new Error(
'Login hint is required for email/sms passwordless login'
Expand Down
1 change: 0 additions & 1 deletion wallets/web3auth/src/extension/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export type Web3AuthLoginMethod = {

export type Web3AuthClientOptions = {
loginProvider: LOGIN_PROVIDER_TYPE;
loginHint?: string;
getLoginHint?: () => string | undefined;

// Web3Auth client options.
Expand Down

0 comments on commit fc9a44e

Please sign in to comment.