mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-25 20:58:50 +01:00
chore: linting
This commit is contained in:
parent
55f67212d5
commit
05a0a1f7cd
7 changed files with 3 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import React from 'react';
|
||||
import { TModelSpec, TStartupConfig } from 'librechat-data-provider';
|
||||
import { TStartupConfig } from 'librechat-data-provider';
|
||||
|
||||
export interface Endpoint {
|
||||
value: string;
|
||||
|
|
|
|||
|
|
@ -119,7 +119,6 @@ const Menu: React.FC<MenuProps> = ({
|
|||
)}
|
||||
{item.label}
|
||||
{item.kbd != null && (
|
||||
// eslint-disable-next-line i18next/no-literal-string
|
||||
<kbd className="ml-auto hidden font-sans text-xs text-black/50 group-hover:inline group-focus:inline dark:text-white/50">
|
||||
⌘{item.kbd}
|
||||
</kbd>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export default function Prompt({ title, prompt }: { title: string; prompt: strin
|
|||
return (
|
||||
<div
|
||||
// onclick="selectPromptTemplate(0)"
|
||||
className="flex w-full flex-col gap-2 rounded-md bg-gray-50 p-4 text-left hover:bg-gray-200 dark:bg-white/5 "
|
||||
className="flex w-full flex-col gap-2 rounded-md bg-gray-50 p-4 text-left hover:bg-gray-200 dark:bg-white/5"
|
||||
>
|
||||
<h2 className="m-auto flex items-center gap-3 text-lg font-normal md:flex-col md:gap-2">
|
||||
{title}
|
||||
|
|
|
|||
|
|
@ -15,4 +15,4 @@ export default function AppleIcon() {
|
|||
/>
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import { cn } from '~/utils/';
|
||||
|
||||
export default function AzureMinimalIcon({
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
import { cn } from '~/utils';
|
||||
|
||||
export default function ThumbDownIcon({ className = '', size = '1em', bold = false }) {
|
||||
return bold ? (
|
||||
<svg
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
import { cn } from '~/utils';
|
||||
|
||||
export default function ThumbUpIcon({ className = '', size = '1em', bold = false }) {
|
||||
return bold ? (
|
||||
<svg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue