From d283d44c02e8f52379ef455319663e3faeade8ae Mon Sep 17 00:00:00 2001 From: shadcn Date: Wed, 14 Jun 2023 16:04:30 +0400 Subject: [PATCH] fix: className order --- app/page.tsx | 2 +- components/chat-message-actions.tsx | 2 +- components/chat-message.tsx | 4 ++-- components/sidebar-list.tsx | 4 ++-- components/sidebar.tsx | 4 ++-- components/ui/icons.tsx | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index 667918a..7c5859a 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -6,7 +6,7 @@ export const preferredRegion = 'home' export default async function IndexPage() { return ( -
+
{/* @ts-ignore */}
diff --git a/components/chat-message-actions.tsx b/components/chat-message-actions.tsx index 6593ae9..0ed4564 100644 --- a/components/chat-message-actions.tsx +++ b/components/chat-message-actions.tsx @@ -20,7 +20,7 @@ export function ChatMessageActions({ return (
{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} >