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