chore: prettier

This commit is contained in:
Junyan Qin
2025-08-11 20:46:08 +08:00
parent 0124448479
commit 5f18a1b13a
5 changed files with 15 additions and 8 deletions

View File

@@ -77,7 +77,10 @@ export const columns = (
<MoreHorizontal className="h-4 w-4" />
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align="end" className="bg-white dark:bg-[#2a2a2e]">
<DropdownMenuContent
align="end"
className="bg-white dark:bg-[#2a2a2e]"
>
<DropdownMenuLabel>
{t('knowledge.documentsTab.actions')}
</DropdownMenuLabel>

View File

@@ -206,7 +206,9 @@ export default function LLMConfigPage() {
</div>
<TabsContent value="llm">
<div className="flex flex-row justify-between items-center px-[0.4rem] h-full">
<p className="text-sm text-gray-500 dark:text-gray-400">{t('llm.description')}</p>
<p className="text-sm text-gray-500 dark:text-gray-400">
{t('llm.description')}
</p>
</div>
</TabsContent>
<TabsContent value="embedding">

View File

@@ -332,7 +332,9 @@ export default function DebugDialog({
<div
className={cn(
'flex items-center gap-2 px-4 py-1.5 rounded cursor-pointer',
isHovering ? 'bg-gray-100 dark:bg-gray-700' : 'bg-white dark:bg-gray-800',
isHovering
? 'bg-gray-100 dark:bg-gray-700'
: 'bg-white dark:bg-gray-800',
)}
onClick={handleAtSelect}
onMouseEnter={() => setIsHovering(true)}

View File

@@ -342,7 +342,7 @@ export default function PipelineFormComponent({
return (
<>
<div className="!max-w-[70vw] max-w-6xl h-full p-0 flex flex-col bg-white dark:bg-black">
<div className="!max-w-[70vw] max-w-6xl h-full p-0 flex flex-col bg-white dark:bg-black">
<Form {...form}>
<form
id="pipeline-form"

View File

@@ -19,10 +19,10 @@ export default function RootLayout({
<html lang="zh" suppressHydrationWarning>
<body className={``}>
<ThemeProvider>
<I18nProvider>
{children}
<Toaster />
</I18nProvider>
<I18nProvider>
{children}
<Toaster />
</I18nProvider>
</ThemeProvider>
</body>
</html>