{message.role === 'user' ? : }
-
+
+
You are not logged in!
@@ -27,7 +27,7 @@ export async function SidebarList({ userId }: SidebarListProps) { return (
{chats?.length ? (
-
+
{chats.map(chat => (
-
diff --git a/components/ui/icons.tsx b/components/ui/icons.tsx
index 704fef9..60f1142 100644
--- a/components/ui/icons.tsx
+++ b/components/ui/icons.tsx
@@ -232,7 +232,7 @@ function IconSpinner({ className, ...props }: React.ComponentProps<'svg'>) {
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 256 256"
fill="currentColor"
- className={cn('h-4 w-4', className)}
+ className={cn('h-4 w-4 animate-spin', className)}
{...props}
>