From 3066e7d14c535ea3fc36ae41b6d6ce74cb63b78b Mon Sep 17 00:00:00 2001 From: Bryan Frimin Date: Sat, 21 Mar 2026 19:21:23 +0100 Subject: [PATCH] Fix eslint errors in sign-in page Signed-off-by: Bryan Frimin --- .../src/pages/iam/auth/sign-in/SignInPage.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/console/src/pages/iam/auth/sign-in/SignInPage.tsx b/apps/console/src/pages/iam/auth/sign-in/SignInPage.tsx index ca90e50e4..d12aa75c9 100644 --- a/apps/console/src/pages/iam/auth/sign-in/SignInPage.tsx +++ b/apps/console/src/pages/iam/auth/sign-in/SignInPage.tsx @@ -3,7 +3,7 @@ import { useTranslate } from "@probo/i18n"; import { Button, Field, Google, Microsoft, useToast } from "@probo/ui"; import { type ComponentProps, type FormEventHandler, Suspense } from "react"; import { useLazyLoadQuery, useMutation } from "react-relay"; -import { Link, useLocation, matchPath } from "react-router"; +import { Link, matchPath, useLocation } from "react-router"; import { graphql } from "relay-runtime"; import type { SignInPageMutation } from "#/__generated__/iam/SignInPageMutation.graphql"; @@ -68,10 +68,10 @@ function OIDCButtons() { variant="secondary" className="w-full h-10" onClick={() => { - window.location.href = - provider.loginURL + - "?continue=" + - encodeURIComponent( + window.location.href + = provider.loginURL + + "?continue=" + + encodeURIComponent( safeContinueUrl.pathname + safeContinueUrl.search, ); }} @@ -93,8 +93,8 @@ export default function SignInPage() { const location = useLocation(); const safeContinueUrl = useSafeContinueUrl(); - const [signIn, isSigningIn] = - useMutation(signInMutation); + const [signIn, isSigningIn] + = useMutation(signInMutation); const handleSubmit: FormEventHandler = (e) => { e.preventDefault();