This commit is contained in:
eric
2026-03-31 13:15:38 -05:00
parent 4497604242
commit 33dc13f0f4
2 changed files with 23 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ export function VipHeader({
<span className="block px-4 py-2 text-sm text-slate-600 dark:text-slate-400 truncate max-w-[160px]">
<Copyable text={displayName}>{displayName}</Copyable>
</span>
{onLogout && (
{isLoggedIn && onLogout && (
<button
onClick={handleLogout}
className="flex w-full items-center gap-2 px-4 py-2 text-left text-sm text-slate-700 hover:bg-slate-50 dark:text-slate-300 dark:hover:bg-slate-700"