diff --git a/src/app/explorer/page.tsx b/src/app/explorer/page.tsx
index 447f10a76f..5fbf46aed7 100644
--- a/src/app/explorer/page.tsx
+++ b/src/app/explorer/page.tsx
@@ -1,9 +1,8 @@
import { AuthBoundary } from "@/components/AuthBoundary";
import { GuildCardSkeleton } from "@/components/GuildCard";
import { GuildCard } from "@/components/GuildCard";
-import { Button } from "@/components/ui/Button";
+import { SignInButton } from "@/components/SignInButton";
import { env } from "@/lib/env";
-import { SignIn } from "@phosphor-icons/react/dist/ssr";
import {
HydrationBoundary,
QueryClient,
@@ -79,13 +78,7 @@ async function YourGuildsSection() {
Sign in to view your guilds or create new ones
- }
- className="ml-auto h-10"
- >
- Sign in
-
+
}
>
diff --git a/src/components/SignInButton.tsx b/src/components/SignInButton.tsx
index 639ec1ef45..5ad2ac6cc0 100644
--- a/src/components/SignInButton.tsx
+++ b/src/components/SignInButton.tsx
@@ -1,23 +1,28 @@
"use client";
import { signInDialogOpenAtom } from "@/config/atoms";
+import { cn } from "@/lib/cssUtils";
import { SignIn } from "@phosphor-icons/react/dist/ssr";
import { useSetAtom } from "jotai";
+import type { ComponentProps } from "react";
import { Button } from "./ui/Button";
-import { Card } from "./ui/Card";
-export const SignInButton = () => {
+export const SignInButton = ({
+ className,
+ ...props
+}: ComponentProps) => {
const setSignInDialogOpen = useSetAtom(signInDialogOpenAtom);
return (
-
- }
- onClick={() => setSignInDialogOpen(true)}
- >
- Sign in
-
-
+ }
+ onClick={() => setSignInDialogOpen(true)}
+ >
+ Sign in
+
);
};