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