From 58016af1c3e8b7039de99227af58afdea7239762 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Thu, 22 Feb 2024 22:09:26 +0000
Subject: fix: Remove the separator line from the sign in page when no
 providers are configured

---
 packages/web/app/signin/components/SignInForm.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'packages/web/app/signin/components/SignInForm.tsx')

diff --git a/packages/web/app/signin/components/SignInForm.tsx b/packages/web/app/signin/components/SignInForm.tsx
index 986718bf..7c8f8936 100644
--- a/packages/web/app/signin/components/SignInForm.tsx
+++ b/packages/web/app/signin/components/SignInForm.tsx
@@ -16,7 +16,7 @@ export default async function SignInForm() {
     <div className="flex flex-col items-center space-y-2">
       <CredentialsForm />
 
-      {providerValues && (
+      {providerValues && providerValues.length > 0 && (
         <>
           <div className="flex w-full items-center">
             <div className="flex-1 grow border-t-2 border-gray-200"></div>
-- 
cgit v1.2.3-70-g09d2

