mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 17:26:23 +02:00
chore: ran linting
This commit is contained in:
parent
b44b4497a6
commit
f1ce17bde4
15 changed files with 285 additions and 338 deletions
|
|
@ -1,7 +1,4 @@
|
|||
import {
|
||||
Bot,
|
||||
Shuffle,
|
||||
} from "lucide-react";
|
||||
import { Bot, Shuffle } from "lucide-react";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { Ai21Icon } from "@/components/icons/providers";
|
||||
import { AnthropicIcon } from "@/components/icons/providers";
|
||||
|
|
@ -41,10 +38,7 @@ import { ZhipuIcon } from "@/components/icons/providers";
|
|||
*/
|
||||
export function getProviderIcon(
|
||||
provider: string,
|
||||
{
|
||||
isAutoMode,
|
||||
className = "size-4",
|
||||
}: { isAutoMode?: boolean; className?: string } = {}
|
||||
{ isAutoMode, className = "size-4" }: { isAutoMode?: boolean; className?: string } = {}
|
||||
) {
|
||||
if (isAutoMode || provider?.toUpperCase() === "AUTO") {
|
||||
return <Shuffle className={cn(className, "text-violet-800")} />;
|
||||
|
|
@ -123,4 +117,3 @@ export function getProviderIcon(
|
|||
return <Bot className={cn(className, "text-muted-foreground")} />;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue