This commit is contained in:
parent
ff7e5258aa
commit
e9d75306df
|
|
@ -1,13 +1,13 @@
|
||||||
"use client";
|
"use client";
|
||||||
import { Loading } from "@/components/ui/loading";
|
import { Loading } from "@/components/ui/loading";
|
||||||
// import { GitHub, Google } from "@/components/ui/icons";
|
import { GitHub, Google } from "@/components/ui/icons";
|
||||||
import { toast } from "@/components/ui/toaster";
|
import { toast } from "@/components/ui/toaster";
|
||||||
// import { useSignIn } from "@clerk/nextjs";
|
import { useSignIn } from "@clerk/nextjs";
|
||||||
//import type { OAuthStrategy } from "@clerk/types";
|
import type { OAuthStrategy } from "@clerk/types";
|
||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
import { OAuthButton } from "../oauth-button";
|
import { OAuthButton } from "../oauth-button";
|
||||||
|
|
||||||
type OAuthStrategy = 'oauth_google' | 'oauth_github';
|
//type OAuthStrategy = 'oauth_google' | 'oauth_github';
|
||||||
|
|
||||||
export function OAuthSignIn() {
|
export function OAuthSignIn() {
|
||||||
const [isLoading, setIsLoading] = React.useState<OAuthStrategy | null>(null);
|
const [isLoading, setIsLoading] = React.useState<OAuthStrategy | null>(null);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue