Reverted to commit 96a961d95c

This commit is contained in:
gpt-engineer-app[bot]
2025-10-11 15:58:11 +00:00
parent 092337ee9e
commit 1df9ada8ae
37 changed files with 173 additions and 2697 deletions

View File

@@ -12,7 +12,6 @@ export function AuthButtons() {
const {
user,
profile,
loading,
signOut
} = useAuth();
const navigate = useNavigate();
@@ -41,21 +40,10 @@ export function AuthButtons() {
setLoggingOut(false);
}
};
// Show loading skeleton during auth check
if (loading) {
return (
<div className="flex gap-2 items-center">
<div className="h-8 w-16 bg-muted animate-pulse rounded" />
<div className="h-8 w-8 bg-muted animate-pulse rounded-full" />
</div>
);
}
if (!user) {
return (
<>
<Button
<Button
variant="ghost"
size="sm"
onClick={() => {