mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
📑 refactor: Skip H1 Rendering for Falsy Header Values in AuthLayout (#10606)
This commit is contained in:
parent
b49545d916
commit
5ac9ac57cc
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ function AuthLayout({
|
||||||
|
|
||||||
<div className="flex flex-grow items-center justify-center">
|
<div className="flex flex-grow items-center justify-center">
|
||||||
<div className="w-authPageWidth overflow-hidden bg-white px-6 py-4 dark:bg-gray-900 sm:max-w-md sm:rounded-lg">
|
<div className="w-authPageWidth overflow-hidden bg-white px-6 py-4 dark:bg-gray-900 sm:max-w-md sm:rounded-lg">
|
||||||
{!hasStartupConfigError && !isFetching && (
|
{!hasStartupConfigError && !isFetching && header && (
|
||||||
<h1
|
<h1
|
||||||
className="mb-4 text-center text-3xl font-semibold text-black dark:text-white"
|
className="mb-4 text-center text-3xl font-semibold text-black dark:text-white"
|
||||||
style={{ userSelect: 'none' }}
|
style={{ userSelect: 'none' }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue