Skip to content

Commit bba10d1

Browse files
chore: change component name
1 parent 7c1379a commit bba10d1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/web/modules/auth/ui/form-wrapper.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from "@/components/ui/card";
99
import { Separator } from "@/components/ui/separator";
1010
import { FormLink } from "./form-link";
11-
import { Social } from "./social";
11+
import { Providers } from "./providers";
1212

1313
interface FormWrapperProps {
1414
children: React.ReactNode;
@@ -32,7 +32,7 @@ export function FormWrapper({
3232
</CardHeader>
3333
{showSocial && (
3434
<CardContent>
35-
<Social />
35+
<Providers />
3636
<div className="relative my-4">
3737
<Separator />
3838
<span className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 bg-background px-2 text-xs text-muted-foreground">

apps/web/modules/auth/ui/social.tsx apps/web/modules/auth/ui/providers.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Loader2 } from "lucide-react";
66
import { signIn } from "next-auth/react";
77
import { useCallback, useTransition } from "react";
88

9-
export function Social() {
9+
export function Providers() {
1010
const [isPending, startTransition] = useTransition();
1111

1212
const onClick = useCallback((provider: "github") => {

0 commit comments

Comments
 (0)