Skip to content

Commit aaa6306

Browse files
committed
fix(auth): ignore web3auth initModal type mismatch
1 parent a27af29 commit aaa6306

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

frontend/components/auth/SocialLogin.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ export function SocialLogin() {
2424
try {
2525
setLoading(true);
2626

27+
// @ts-expect-error - Web3Auth type mismatch from rebase dependency bump
2728
await web3auth.initModal();
29+
2830
// @ts-expect-error - WALLET_ADAPTERS.AUTH renamed to OPENLOGIN in newer versions
2931
const web3authProvider = await web3auth.connectTo(WALLET_ADAPTERS.AUTH || WALLET_ADAPTERS.OPENLOGIN, {
3032
loginProvider,
@@ -89,4 +91,4 @@ export function SocialLogin() {
8991
</Button>
9092
</div>
9193
);
92-
}
94+
}

0 commit comments

Comments
 (0)