An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
Refactor chat-share component to fix button visibility issue
Yoshiki Miura8198335db6d1
diff --git a/components/chat-share.tsx b/components/chat-share.tsxindex 2eacd71f..cfcc8abc 100644--- a/components/chat-share.tsx+++ b/components/chat-share.tsx@@ -73,7 +73,7 @@ export function ChatShare({ chatId, className }: ChatShareProps) {><DialogTrigger asChild><Button- className={cn('rounded-full', isLoading && 'hidden')}+ className={cn('rounded-full', isLoading && 'invisible')}size="icon"variant={'ghost'}onClick={() => setOpen(true)}