Skip to content

Commit 87e29d9

Browse files
Potential fix for code scanning alert no. 694: Unused variable, import, function or class
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 0921642 commit 87e29d9

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

apps/web/app/(with-contexts)/(with-layout)/login/login-form.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -312,12 +312,11 @@ export default function LoginForm({
312312
<Button
313313
variant="outline"
314314
onClick={async () => {
315-
const { error } =
316-
await authClient.signIn.sso({
317-
providerId:
318-
ssoProvider.providerId,
319-
callbackURL: "/dashboard",
320-
});
315+
await authClient.signIn.sso({
316+
providerId:
317+
ssoProvider.providerId,
318+
callbackURL: "/dashboard",
319+
});
321320
}}
322321
className="w-full lg:w-[360px] mx-auto"
323322
>

0 commit comments

Comments
 (0)