An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
fix: sort imports to pass lint checks
Yoshiki Miura8ac862090562
diff --git a/components/chat-messages.tsx b/components/chat-messages.tsxindex 0b33f0d3..a0043997 100644--- a/components/chat-messages.tsx+++ b/components/chat-messages.tsx@@ -7,9 +7,9 @@ import { UseChatHelpers } from '@ai-sdk/react'import type { UIDataTypes, UIMessage, UITools } from '@/lib/types/ai'import { cn } from '@/lib/utils'+import { AnimatedLogo } from './ui/animated-logo'import { ChatError } from './chat-error'import { RenderMessage } from './render-message'-import { AnimatedLogo } from './ui/animated-logo'// Import section structure interfaceinterface ChatSection {diff --git a/components/message-actions.tsx b/components/message-actions.tsxindex 8faa70c4..1f4f921a 100644--- a/components/message-actions.tsx+++ b/components/message-actions.tsx@@ -11,9 +11,9 @@ import type { UIDataTypes, UIMessage, UITools } from '@/lib/types/ai'import { cn } from '@/lib/utils'import { processCitations } from '@/lib/utils/citation'+import { Button } from './ui/button'import { ChatShare } from './chat-share'import { RetryButton } from './retry-button'-import { Button } from './ui/button'interface MessageActionsProps {message: stringdiff --git a/components/related-questions.tsx b/components/related-questions.tsxindex e4271055..48d328e3 100644--- a/components/related-questions.tsx+++ b/components/related-questions.tsx@@ -6,10 +6,10 @@ import { ArrowRight } from 'lucide-react'import type { RelatedQuestionsData } from '@/lib/types/ai'-import { CollapsibleMessage } from './collapsible-message'-import { Section } from './section'import { Button } from './ui/button'import { Skeleton } from './ui/skeleton'+import { CollapsibleMessage } from './collapsible-message'+import { Section } from './section'interface RelatedQuestionsProps {data: RelatedQuestionsDatadiff --git a/components/search-section.tsx b/components/search-section.tsxindex 6589e212..92f87463 100644--- a/components/search-section.tsx+++ b/components/search-section.tsx@@ -9,13 +9,13 @@ import { cn } from '@/lib/utils'import { useArtifact } from '@/components/artifact/artifact-context'+import { StatusIndicator } from './ui/status-indicator'import { CollapsibleMessage } from './collapsible-message'import { SearchSkeleton } from './default-skeleton'import ProcessHeader from './process-header'import { SearchResults } from './search-results'import { SearchResultsImageSection } from './search-results-image'import { Section } from './section'-import { StatusIndicator } from './ui/status-indicator'import {createVideoSearchResults,VideoSearchResultsdiff --git a/components/section.tsx b/components/section.tsxindex db347a5a..f71bdef3 100644--- a/components/section.tsx+++ b/components/section.tsx@@ -16,10 +16,10 @@ import {import { cn } from '@/lib/utils'-import { ToolBadge } from './tool-badge'import { Badge } from './ui/badge'import { Separator } from './ui/separator'import { StatusIndicator } from './ui/status-indicator'+import { ToolBadge } from './tool-badge'type SectionProps = {children: React.ReactNode