Skip to content

An AI-powered search engine with a generative UI

Update chat-share component imports

Yoshiki Miura417e339fec9c
diff --git a/components/chat-share.tsx b/components/chat-share.tsx
index 407f138a..820561c9 100644
--- a/components/chat-share.tsx
+++ b/components/chat-share.tsx
@@ -8,13 +8,14 @@ import {
DialogContent,
DialogFooter,
DialogHeader,
- DialogTrigger
+ DialogTrigger,
+ DialogDescription,
+ DialogTitle
} from './ui/dialog'
import { shareChat } from '@/lib/actions/chat'
import { toast } from 'sonner'
import { useCopyToClipboard } from '@/lib/hooks/use-copy-to-clipboard'
import { Spinner } from './ui/spinner'
-import { DialogDescription, DialogTitle } from '@radix-ui/react-dialog'
interface ChatShareProps {
chatId: string