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
@@ -77,7 +77,10 @@ export const columns = (
<MoreHorizontal className="h-4 w-4" /> <MoreHorizontal className="h-4 w-4" />
</Button> </Button>
</DropdownMenuTrigger> </DropdownMenuTrigger>
<DropdownMenuContent align="end" className="bg-white dark:bg-[#2a2a2e]"> <DropdownMenuContent
align="end"
className="bg-white dark:bg-[#2a2a2e]"
>
<DropdownMenuLabel> <DropdownMenuLabel>
{t('knowledge.documentsTab.actions')} {t('knowledge.documentsTab.actions')}
</DropdownMenuLabel> </DropdownMenuLabel>
+3 -1
View File
@@ -206,7 +206,9 @@ export default function LLMConfigPage() {
</div> </div>
<TabsContent value="llm"> <TabsContent value="llm">
<div className="flex flex-row justify-between items-center px-[0.4rem] h-full"> <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> </div>
</TabsContent> </TabsContent>
<TabsContent value="embedding"> <TabsContent value="embedding">
@@ -332,7 +332,9 @@ export default function DebugDialog({
<div <div
className={cn( className={cn(
'flex items-center gap-2 px-4 py-1.5 rounded cursor-pointer', '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} onClick={handleAtSelect}
onMouseEnter={() => setIsHovering(true)} onMouseEnter={() => setIsHovering(true)}
@@ -342,7 +342,7 @@ export default function PipelineFormComponent({
return ( 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 {...form}>
<form <form
id="pipeline-form" id="pipeline-form"
+4 -4
View File
@@ -19,10 +19,10 @@ export default function RootLayout({
<html lang="zh" suppressHydrationWarning> <html lang="zh" suppressHydrationWarning>
<body className={``}> <body className={``}>
<ThemeProvider> <ThemeProvider>
<I18nProvider> <I18nProvider>
{children} {children}
<Toaster /> <Toaster />
</I18nProvider> </I18nProvider>
</ThemeProvider> </ThemeProvider>
</body> </body>
</html> </html>