@@ -6,8 +6,8 @@ import type { SignInPageQuery } from "#/__generated__/iam/SignInPageQuery.graphq
|
||||
import SignInPage, { signInPageQuery } from "./SignInPage";
|
||||
|
||||
function SignInPageQueryLoader() {
|
||||
const [queryRef, loadQuery] =
|
||||
useQueryLoader<SignInPageQuery>(signInPageQuery);
|
||||
const [queryRef, loadQuery]
|
||||
= useQueryLoader<SignInPageQuery>(signInPageQuery);
|
||||
|
||||
useEffect(() => {
|
||||
loadQuery({});
|
||||
|
||||
@@ -11,11 +11,10 @@ import { useFormWithSchema } from "#/hooks/useFormWithSchema";
|
||||
import { useSafeContinueUrl } from "#/hooks/useSafeContinueUrl";
|
||||
import { getPathPrefix } from "#/utils/pathPrefix";
|
||||
|
||||
import { Divider } from "./_components/Divider";
|
||||
import { OIDCButton } from "./_components/OIDCButton";
|
||||
|
||||
import type { ConnectPageMutation, SendMagicLinkInput } from "./__generated__/ConnectPageMutation.graphql";
|
||||
import type { ConnectPageQuery } from "./__generated__/ConnectPageQuery.graphql";
|
||||
import { Divider } from "./_components/Divider";
|
||||
import { OIDCButton } from "./_components/OIDCButton";
|
||||
|
||||
export const connectPageQuery = graphql`
|
||||
query ConnectPageQuery {
|
||||
|
||||
@@ -4,9 +4,10 @@ import type { ComponentProps } from "react";
|
||||
import { useFragment } from "react-relay";
|
||||
import { graphql } from "relay-runtime";
|
||||
|
||||
import type { OIDCButtonFragment$key } from "./__generated__/OIDCButtonFragment.graphql";
|
||||
import { useSafeContinueUrl } from "#/hooks/useSafeContinueUrl";
|
||||
|
||||
import type { OIDCButtonFragment$key } from "./__generated__/OIDCButtonFragment.graphql";
|
||||
|
||||
const fragment = graphql`
|
||||
fragment OIDCButtonFragment on OIDCProviderInfo {
|
||||
name
|
||||
|
||||
Reference in New Issue
Block a user