From 18237b671e2b79e9a9b56da55d187dd01d500da2 Mon Sep 17 00:00:00 2001 From: Marco Beretta <81851188+berry-13@users.noreply.github.com> Date: Sat, 25 Jul 2026 14:06:36 +0200 Subject: [PATCH] fix(client): resolve CI validation failures --- client/src/components/Agents/AgentGrid.tsx | 2 +- .../Agents/tests/AgentGrid.integration.spec.tsx | 5 ++--- .../components/Artifacts/ArtifactCodeEditor.tsx | 2 +- client/src/components/Auth/Footer.tsx | 2 +- client/src/components/Auth/Login.tsx | 2 +- client/src/components/Auth/ResetPassword.tsx | 2 +- client/src/components/Auth/SocialLoginRender.tsx | 5 +---- client/src/components/Banners/Banner.tsx | 2 +- .../components/Chat/Input/Files/MyFilesModal.tsx | 2 +- .../Input/Files/Table/ColumnVisibilityDropdown.tsx | 2 +- .../Chat/Input/Files/Table/DataTable.tsx | 14 +++++++------- .../Chat/Messages/Content/MemoryArtifacts.tsx | 2 +- .../Chat/Messages/Content/MemoryInfo.tsx | 2 +- .../Content/__tests__/MemoryArtifacts.test.tsx | 4 ++-- .../Messages/Content/__tests__/MemoryInfo.test.tsx | 2 +- .../components/Files/FileList/DataTableFile.tsx | 14 +++++++------- client/src/components/Files/FilesListView.tsx | 2 +- .../components/Input/SetKeyDialog/SetKeyDialog.tsx | 2 +- .../src/components/MCP/CustomUserVarsSection.tsx | 2 +- client/src/components/MCP/MCPServerMenuItem.tsx | 4 ++-- .../components/Nav/SettingsTabs/DangerButton.tsx | 2 +- .../PeoplePicker/SelectedPrincipalsList.tsx | 2 +- .../SidePanel/Agents/Advanced/AdvancedPanel.tsx | 2 +- .../SidePanel/Bookmarks/BookmarkCardActions.tsx | 2 +- .../SidePanel/MCPBuilder/MCPCardActions.tsx | 2 +- .../SidePanel/MCPBuilder/MCPStatusBadge.tsx | 2 +- .../SidePanel/Parameters/DynamicSlider.tsx | 2 +- .../Skills/display/SkillDetailHeader.tsx | 2 +- .../components/Skills/tree/SkillFilePreview.tsx | 2 +- packages/client/src/components/Alert.tsx | 2 +- 30 files changed, 45 insertions(+), 49 deletions(-) diff --git a/client/src/components/Agents/AgentGrid.tsx b/client/src/components/Agents/AgentGrid.tsx index 991f5e186e..cb11012f15 100644 --- a/client/src/components/Agents/AgentGrid.tsx +++ b/client/src/components/Agents/AgentGrid.tsx @@ -3,8 +3,8 @@ import { Spinner } from '@librechat/client'; import { PermissionBits } from 'librechat-data-provider'; import type t from 'librechat-data-provider'; import { useMarketplaceAgentsInfiniteQuery } from '~/data-provider/Agents'; -import { useAgentCategories, useLocalize } from '~/hooks'; import { useInfiniteScroll } from '~/hooks/useInfiniteScroll'; +import { useAgentCategories, useLocalize } from '~/hooks'; import { useHasData } from './SmartLoader'; import ErrorDisplay from './ErrorDisplay'; import AgentCard from './AgentCard'; diff --git a/client/src/components/Agents/tests/AgentGrid.integration.spec.tsx b/client/src/components/Agents/tests/AgentGrid.integration.spec.tsx index f320dd6e64..a4d6282aa7 100644 --- a/client/src/components/Agents/tests/AgentGrid.integration.spec.tsx +++ b/client/src/components/Agents/tests/AgentGrid.integration.spec.tsx @@ -1,10 +1,9 @@ import React from 'react'; import { render, screen, fireEvent, waitFor, act } from '@testing-library/react'; - import '@testing-library/jest-dom'; -import AgentGrid from '../AgentGrid'; -import type t from 'librechat-data-provider'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; +import type t from 'librechat-data-provider'; +import AgentGrid from '../AgentGrid'; // Mock the marketplace agent query hook jest.mock('~/data-provider/Agents', () => ({ diff --git a/client/src/components/Artifacts/ArtifactCodeEditor.tsx b/client/src/components/Artifacts/ArtifactCodeEditor.tsx index c8963c2dcc..f95d7f044b 100644 --- a/client/src/components/Artifacts/ArtifactCodeEditor.tsx +++ b/client/src/components/Artifacts/ArtifactCodeEditor.tsx @@ -422,7 +422,7 @@ export const ArtifactCodeEditor = function ArtifactCodeEditor({ quickSuggestions: !readOnly, suggestOnTriggerCharacters: !readOnly, parameterHints: { enabled: !readOnly }, - hover: { enabled: !readOnly }, + hover: { enabled: readOnly ? 'off' : 'on' }, matchBrackets: readOnly ? 'never' : 'always', }), [readOnly], diff --git a/client/src/components/Auth/Footer.tsx b/client/src/components/Auth/Footer.tsx index 14c61da271..30fe354f11 100644 --- a/client/src/components/Auth/Footer.tsx +++ b/client/src/components/Auth/Footer.tsx @@ -1,5 +1,5 @@ -import { useLocalize } from '~/hooks'; import { TStartupConfig } from 'librechat-data-provider'; +import { useLocalize } from '~/hooks'; function Footer({ startupConfig }: { startupConfig: TStartupConfig | null | undefined }) { const localize = useLocalize(); diff --git a/client/src/components/Auth/Login.tsx b/client/src/components/Auth/Login.tsx index 94c14f63d1..ef9e595509 100644 --- a/client/src/components/Auth/Login.tsx +++ b/client/src/components/Auth/Login.tsx @@ -1,6 +1,6 @@ import { useEffect, useState } from 'react'; -import { ErrorTypes, registerPage } from 'librechat-data-provider'; import { OpenIDIcon, useToastContext } from '@librechat/client'; +import { ErrorTypes, registerPage } from 'librechat-data-provider'; import { useOutletContext, useSearchParams, useLocation } from 'react-router-dom'; import type { TLoginLayoutContext } from '~/common'; import { getLoginError, persistRedirectToSession } from '~/utils'; diff --git a/client/src/components/Auth/ResetPassword.tsx b/client/src/components/Auth/ResetPassword.tsx index 5eba4d4c24..4a84cadba5 100644 --- a/client/src/components/Auth/ResetPassword.tsx +++ b/client/src/components/Auth/ResetPassword.tsx @@ -1,7 +1,7 @@ import { useForm } from 'react-hook-form'; -import { Spinner, Button, SecretInput, Alert } from '@librechat/client'; import { useOutletContext } from 'react-router-dom'; import { useNavigate, useSearchParams } from 'react-router-dom'; +import { Spinner, Button, SecretInput, Alert } from '@librechat/client'; import { useResetPasswordMutation } from 'librechat-data-provider/react-query'; import type { TResetPassword } from 'librechat-data-provider'; import type { TLoginLayoutContext } from '~/common'; diff --git a/client/src/components/Auth/SocialLoginRender.tsx b/client/src/components/Auth/SocialLoginRender.tsx index 702c0d840f..1fbb34131e 100644 --- a/client/src/components/Auth/SocialLoginRender.tsx +++ b/client/src/components/Auth/SocialLoginRender.tsx @@ -1,3 +1,4 @@ +import { TStartupConfig } from 'librechat-data-provider'; import { GoogleIcon, FacebookIcon, @@ -7,13 +8,9 @@ import { AppleIcon, SamlIcon, } from '@librechat/client'; - import SocialButton from './SocialButton'; - import { useLocalize } from '~/hooks'; -import { TStartupConfig } from 'librechat-data-provider'; - function SocialLoginRender({ startupConfig, }: { diff --git a/client/src/components/Banners/Banner.tsx b/client/src/components/Banners/Banner.tsx index 24bd23b1be..3feef97b50 100644 --- a/client/src/components/Banners/Banner.tsx +++ b/client/src/components/Banners/Banner.tsx @@ -1,7 +1,7 @@ +import { useEffect, useMemo, useRef } from 'react'; import { XIcon } from 'lucide-react'; import { useRecoilState } from 'recoil'; import { Button, cn } from '@librechat/client'; -import { useEffect, useMemo, useRef } from 'react'; import { CONFIG_HTML_TEXT_TAGS, CONFIG_HTML_CLASS_ATTR, diff --git a/client/src/components/Chat/Input/Files/MyFilesModal.tsx b/client/src/components/Chat/Input/Files/MyFilesModal.tsx index eda88b67d6..a5945530de 100644 --- a/client/src/components/Chat/Input/Files/MyFilesModal.tsx +++ b/client/src/components/Chat/Input/Files/MyFilesModal.tsx @@ -1,6 +1,6 @@ import { FileSources, FileContext } from 'librechat-data-provider'; -import type { TFile } from 'librechat-data-provider'; import { OGDialog, OGDialogContent, OGDialogHeader, OGDialogTitle } from '@librechat/client'; +import type { TFile } from 'librechat-data-provider'; import { useGetFiles } from '~/data-provider'; import { DataTable, columns } from './Table'; import { useLocalize } from '~/hooks'; diff --git a/client/src/components/Chat/Input/Files/Table/ColumnVisibilityDropdown.tsx b/client/src/components/Chat/Input/Files/Table/ColumnVisibilityDropdown.tsx index 5890c86d2c..c770de021c 100644 --- a/client/src/components/Chat/Input/Files/Table/ColumnVisibilityDropdown.tsx +++ b/client/src/components/Chat/Input/Files/Table/ColumnVisibilityDropdown.tsx @@ -1,8 +1,8 @@ import { useState, useId, useMemo } from 'react'; import { ListFilter } from 'lucide-react'; import * as Menu from '@ariakit/react/menu'; -import { useReactTable } from '@tanstack/react-table'; import { DropdownPopup } from '@librechat/client'; +import { useReactTable } from '@tanstack/react-table'; import { useLocalize, TranslationKeys } from '~/hooks'; import { cn } from '~/utils'; diff --git a/client/src/components/Chat/Input/Files/Table/DataTable.tsx b/client/src/components/Chat/Input/Files/Table/DataTable.tsx index 4a24ee400c..2bd9eae7ab 100644 --- a/client/src/components/Chat/Input/Files/Table/DataTable.tsx +++ b/client/src/components/Chat/Input/Files/Table/DataTable.tsx @@ -1,5 +1,6 @@ import { useState } from 'react'; import { useSetRecoilState } from 'recoil'; +import { FileContext } from 'librechat-data-provider'; import { flexRender, useReactTable, @@ -8,13 +9,6 @@ import { getFilteredRowModel, getPaginationRowModel, } from '@tanstack/react-table'; -import type { - ColumnDef, - SortingState, - VisibilityState, - ColumnFiltersState, -} from '@tanstack/react-table'; -import { FileContext } from 'librechat-data-provider'; import { Table, Button, @@ -28,6 +22,12 @@ import { TableHeader, useMediaQuery, } from '@librechat/client'; +import type { + ColumnDef, + SortingState, + VisibilityState, + ColumnFiltersState, +} from '@tanstack/react-table'; import type { TFile } from 'librechat-data-provider'; import { ColumnVisibilityDropdown } from './ColumnVisibilityDropdown'; import { useDeleteFilesFromTable } from '~/hooks/Files'; diff --git a/client/src/components/Chat/Messages/Content/MemoryArtifacts.tsx b/client/src/components/Chat/Messages/Content/MemoryArtifacts.tsx index 7eaf2e80c5..f17b20190e 100644 --- a/client/src/components/Chat/Messages/Content/MemoryArtifacts.tsx +++ b/client/src/components/Chat/Messages/Content/MemoryArtifacts.tsx @@ -1,5 +1,5 @@ -import { Tools } from 'librechat-data-provider'; import { useState, useRef, useMemo, useLayoutEffect, useEffect } from 'react'; +import { Tools } from 'librechat-data-provider'; import type { MemoryArtifact, TAttachment } from 'librechat-data-provider'; import MemoryInfo from './MemoryInfo'; import { useLocalize } from '~/hooks'; diff --git a/client/src/components/Chat/Messages/Content/MemoryInfo.tsx b/client/src/components/Chat/Messages/Content/MemoryInfo.tsx index 9bf4fd5f6a..59aa5d6736 100644 --- a/client/src/components/Chat/Messages/Content/MemoryInfo.tsx +++ b/client/src/components/Chat/Messages/Content/MemoryInfo.tsx @@ -1,6 +1,6 @@ -import type { MemoryArtifact } from 'librechat-data-provider'; import { useMemo } from 'react'; import { Alert } from '@librechat/client'; +import type { MemoryArtifact } from 'librechat-data-provider'; import { useLocalize } from '~/hooks'; export default function MemoryInfo({ memoryArtifacts }: { memoryArtifacts: MemoryArtifact[] }) { diff --git a/client/src/components/Chat/Messages/Content/__tests__/MemoryArtifacts.test.tsx b/client/src/components/Chat/Messages/Content/__tests__/MemoryArtifacts.test.tsx index 2aa40540b8..59bd54a093 100644 --- a/client/src/components/Chat/Messages/Content/__tests__/MemoryArtifacts.test.tsx +++ b/client/src/components/Chat/Messages/Content/__tests__/MemoryArtifacts.test.tsx @@ -1,9 +1,9 @@ import React from 'react'; import { render, screen, fireEvent } from '@testing-library/react'; import '@testing-library/jest-dom/extend-expect'; -import MemoryArtifacts from '../MemoryArtifacts'; -import type { TAttachment, MemoryArtifact } from 'librechat-data-provider'; import { Tools } from 'librechat-data-provider'; +import type { TAttachment, MemoryArtifact } from 'librechat-data-provider'; +import MemoryArtifacts from '../MemoryArtifacts'; // Mock the localize hook jest.mock('~/hooks', () => ({ diff --git a/client/src/components/Chat/Messages/Content/__tests__/MemoryInfo.test.tsx b/client/src/components/Chat/Messages/Content/__tests__/MemoryInfo.test.tsx index 7050ab0d56..5202b048c1 100644 --- a/client/src/components/Chat/Messages/Content/__tests__/MemoryInfo.test.tsx +++ b/client/src/components/Chat/Messages/Content/__tests__/MemoryInfo.test.tsx @@ -1,8 +1,8 @@ import React from 'react'; import { render, screen } from '@testing-library/react'; import '@testing-library/jest-dom/extend-expect'; -import MemoryInfo from '../MemoryInfo'; import type { MemoryArtifact } from 'librechat-data-provider'; +import MemoryInfo from '../MemoryInfo'; // Mock the localize hook jest.mock('~/hooks', () => ({ diff --git a/client/src/components/Files/FileList/DataTableFile.tsx b/client/src/components/Files/FileList/DataTableFile.tsx index 918a8015f1..c6ae258b5a 100644 --- a/client/src/components/Files/FileList/DataTableFile.tsx +++ b/client/src/components/Files/FileList/DataTableFile.tsx @@ -1,6 +1,7 @@ import * as React from 'react'; import { ListFilter } from 'lucide-react'; import { useSetRecoilState } from 'recoil'; +import { FileContext } from 'librechat-data-provider'; import { flexRender, getCoreRowModel, @@ -9,13 +10,6 @@ import { getSortedRowModel, useReactTable, } from '@tanstack/react-table'; -import type { - ColumnDef, - SortingState, - VisibilityState, - ColumnFiltersState, -} from '@tanstack/react-table'; -import { FileContext } from 'librechat-data-provider'; import { Input, Table, @@ -32,6 +26,12 @@ import { DropdownMenuTrigger, DropdownMenuCheckboxItem, } from '@librechat/client'; +import type { + ColumnDef, + SortingState, + VisibilityState, + ColumnFiltersState, +} from '@tanstack/react-table'; import type { TFile } from 'librechat-data-provider'; import type { AugmentedColumnDef } from '~/common'; import ActionButton from '~/components/Files/ActionButton'; diff --git a/client/src/components/Files/FilesListView.tsx b/client/src/components/Files/FilesListView.tsx index 8a98e6d494..3e9af7a657 100644 --- a/client/src/components/Files/FilesListView.tsx +++ b/client/src/components/Files/FilesListView.tsx @@ -1,7 +1,7 @@ import React from 'react'; -import FileSidePanel from './FileList/FileSidePanel'; import { Outlet, useNavigate, useParams } from 'react-router-dom'; import FilesSectionSelector from './FilesSectionSelector'; +import FileSidePanel from './FileList/FileSidePanel'; import { useLocalize } from '~/hooks'; import { Button } from '../ui'; diff --git a/client/src/components/Input/SetKeyDialog/SetKeyDialog.tsx b/client/src/components/Input/SetKeyDialog/SetKeyDialog.tsx index 678bb8ac8a..5e726164e4 100644 --- a/client/src/components/Input/SetKeyDialog/SetKeyDialog.tsx +++ b/client/src/components/Input/SetKeyDialog/SetKeyDialog.tsx @@ -22,10 +22,10 @@ import type { TDialogProps } from '~/common'; import { useUserKey, useLocalize } from '~/hooks'; import { NotificationSeverity } from '~/common'; import CustomConfig from './CustomEndpoint'; +import BedrockConfig from './BedrockConfig'; import GoogleConfig from './GoogleConfig'; import OpenAIConfig from './OpenAIConfig'; import OtherConfig from './OtherConfig'; -import BedrockConfig from './BedrockConfig'; import HelpText from './HelpText'; import { logger } from '~/utils'; diff --git a/client/src/components/MCP/CustomUserVarsSection.tsx b/client/src/components/MCP/CustomUserVarsSection.tsx index 11b55dc52b..32bda77492 100644 --- a/client/src/components/MCP/CustomUserVarsSection.tsx +++ b/client/src/components/MCP/CustomUserVarsSection.tsx @@ -2,12 +2,12 @@ import React, { useMemo } from 'react'; import { useForm, Controller } from 'react-hook-form'; import { Label, Input, Button, SecretInput } from '@librechat/client'; import type { Control, FieldErrors } from 'react-hook-form'; -import { useMCPAuthValuesQuery } from '~/data-provider/Tools/queries'; import { CONFIG_HTML_INLINE_TAGS, CONFIG_HTML_CLASS_ATTR, createConfigHtmlSanitizer, } from '~/utils/configHtml'; +import { useMCPAuthValuesQuery } from '~/data-provider/Tools/queries'; import { useLocalize } from '~/hooks'; export interface CustomUserVarConfig { diff --git a/client/src/components/MCP/MCPServerMenuItem.tsx b/client/src/components/MCP/MCPServerMenuItem.tsx index 7fc0d1d28d..3c5cbdcc03 100644 --- a/client/src/components/MCP/MCPServerMenuItem.tsx +++ b/client/src/components/MCP/MCPServerMenuItem.tsx @@ -1,15 +1,15 @@ -import * as Ariakit from '@ariakit/react'; import { Check } from 'lucide-react'; +import * as Ariakit from '@ariakit/react'; import { MCPIcon } from '@librechat/client'; import type { MCPServerDefinition } from '~/hooks/MCP/useMCPServerManager'; import type { MCPServerStatusIconProps } from './MCPServerStatusIcon'; -import MCPServerStatusIcon from './MCPServerStatusIcon'; import { getStatusColor, getStatusTextKey, shouldShowActionButton, type ConnectionStatusMap, } from './mcpServerUtils'; +import MCPServerStatusIcon from './MCPServerStatusIcon'; import { useLocalize } from '~/hooks'; import { cn } from '~/utils'; diff --git a/client/src/components/Nav/SettingsTabs/DangerButton.tsx b/client/src/components/Nav/SettingsTabs/DangerButton.tsx index ab5c8334b5..9befd453b5 100644 --- a/client/src/components/Nav/SettingsTabs/DangerButton.tsx +++ b/client/src/components/Nav/SettingsTabs/DangerButton.tsx @@ -1,8 +1,8 @@ import { forwardRef } from 'react'; import { CheckIcon } from 'lucide-react'; import { Spinner, DialogButton, InfoHoverCard, ESide } from '@librechat/client'; -import type { TDangerButtonProps } from '~/common'; import type { ForwardedRef } from 'react'; +import type { TDangerButtonProps } from '~/common'; import { useLocalize } from '~/hooks'; import { cn } from '~/utils'; diff --git a/client/src/components/Sharing/PeoplePicker/SelectedPrincipalsList.tsx b/client/src/components/Sharing/PeoplePicker/SelectedPrincipalsList.tsx index c2fbbff1d9..0d1b706524 100644 --- a/client/src/components/Sharing/PeoplePicker/SelectedPrincipalsList.tsx +++ b/client/src/components/Sharing/PeoplePicker/SelectedPrincipalsList.tsx @@ -1,7 +1,7 @@ import React from 'react'; -import { Button, useMediaQuery } from '@librechat/client'; import { Users, X, ExternalLink } from 'lucide-react'; import { ResourceType } from 'librechat-data-provider'; +import { Button, useMediaQuery } from '@librechat/client'; import type { TPrincipal, AccessRoleIds } from 'librechat-data-provider'; import AccessRolesPicker from '~/components/Sharing/AccessRolesPicker'; import PrincipalAvatar from '~/components/Sharing/PrincipalAvatar'; diff --git a/client/src/components/SidePanel/Agents/Advanced/AdvancedPanel.tsx b/client/src/components/SidePanel/Agents/Advanced/AdvancedPanel.tsx index ea8e45c9ef..78041c1ce3 100644 --- a/client/src/components/SidePanel/Agents/Advanced/AdvancedPanel.tsx +++ b/client/src/components/SidePanel/Agents/Advanced/AdvancedPanel.tsx @@ -1,8 +1,8 @@ import { useMemo, useState } from 'react'; import { useFormContext } from 'react-hook-form'; -import { Button, TooltipAnchor, useToastContext } from '@librechat/client'; import { ChevronLeft, Check, Copy } from 'lucide-react'; import { AgentCapabilities } from 'librechat-data-provider'; +import { Button, TooltipAnchor, useToastContext } from '@librechat/client'; import type { AgentForm } from '~/common'; import { sectionLabelClass, groupHeadingClass } from './ui'; import { useAgentPanelContext } from '~/Providers'; diff --git a/client/src/components/SidePanel/Bookmarks/BookmarkCardActions.tsx b/client/src/components/SidePanel/Bookmarks/BookmarkCardActions.tsx index cf105bef97..2afdf49814 100644 --- a/client/src/components/SidePanel/Bookmarks/BookmarkCardActions.tsx +++ b/client/src/components/SidePanel/Bookmarks/BookmarkCardActions.tsx @@ -1,6 +1,5 @@ import { useState, useRef, useCallback } from 'react'; import { Pencil, Trash2 } from 'lucide-react'; -import type { TConversationTag } from 'librechat-data-provider'; import { Button, OGDialog, @@ -9,6 +8,7 @@ import { TooltipAnchor, useToastContext, } from '@librechat/client'; +import type { TConversationTag } from 'librechat-data-provider'; import { useDeleteConversationTagMutation } from '~/data-provider'; import { BookmarkEditDialog } from '~/components/Bookmarks'; import { NotificationSeverity } from '~/common'; diff --git a/client/src/components/SidePanel/MCPBuilder/MCPCardActions.tsx b/client/src/components/SidePanel/MCPBuilder/MCPCardActions.tsx index f6e58eebf8..996a0ecfcb 100644 --- a/client/src/components/SidePanel/MCPBuilder/MCPCardActions.tsx +++ b/client/src/components/SidePanel/MCPBuilder/MCPCardActions.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import { Pencil, PlugZap, SlidersHorizontal, RefreshCw, X, Trash2 } from 'lucide-react'; import { Spinner, TooltipAnchor } from '@librechat/client'; +import { Pencil, PlugZap, SlidersHorizontal, RefreshCw, X, Trash2 } from 'lucide-react'; import type { MCPServerStatus } from 'librechat-data-provider'; import { useLocalize } from '~/hooks'; import { cn } from '~/utils'; diff --git a/client/src/components/SidePanel/MCPBuilder/MCPStatusBadge.tsx b/client/src/components/SidePanel/MCPBuilder/MCPStatusBadge.tsx index 74f36f62cc..fd3eefa769 100644 --- a/client/src/components/SidePanel/MCPBuilder/MCPStatusBadge.tsx +++ b/client/src/components/SidePanel/MCPBuilder/MCPStatusBadge.tsx @@ -1,5 +1,5 @@ -import { Check, PlugZap } from 'lucide-react'; import { Spinner } from '@librechat/client'; +import { Check, PlugZap } from 'lucide-react'; import type { MCPServerStatus } from 'librechat-data-provider'; import { useLocalize } from '~/hooks'; import { cn } from '~/utils'; diff --git a/client/src/components/SidePanel/Parameters/DynamicSlider.tsx b/client/src/components/SidePanel/Parameters/DynamicSlider.tsx index 3487acb1be..91841c3c22 100644 --- a/client/src/components/SidePanel/Parameters/DynamicSlider.tsx +++ b/client/src/components/SidePanel/Parameters/DynamicSlider.tsx @@ -1,7 +1,7 @@ import { useMemo, useCallback } from 'react'; import { OptionTypes } from 'librechat-data-provider'; -import type { DynamicSettingProps } from 'librechat-data-provider'; import { Label, Slider, HoverCard, Input, InputNumber, HoverCardTrigger } from '@librechat/client'; +import type { DynamicSettingProps } from 'librechat-data-provider'; import { useLocalize, useDebouncedInput, useParameterEffects, TranslationKeys } from '~/hooks'; import { cn, defaultTextProps, optionText } from '~/utils'; import { ESide, defaultDebouncedDelay } from '~/common'; diff --git a/client/src/components/Skills/display/SkillDetailHeader.tsx b/client/src/components/Skills/display/SkillDetailHeader.tsx index 2295dca06b..c55d8f2579 100644 --- a/client/src/components/Skills/display/SkillDetailHeader.tsx +++ b/client/src/components/Skills/display/SkillDetailHeader.tsx @@ -1,8 +1,8 @@ import { format } from 'date-fns'; import { useNavigate } from 'react-router-dom'; +import { InvocationMode } from 'librechat-data-provider'; import { Button, TooltipAnchor } from '@librechat/client'; import { Pencil, Pin, User, Calendar, EarthIcon, Sparkles } from 'lucide-react'; -import { InvocationMode } from 'librechat-data-provider'; import type { TSkill } from 'librechat-data-provider'; import type { TranslationKeys } from '~/hooks'; import { useLocalize, useAuthContext } from '~/hooks'; diff --git a/client/src/components/Skills/tree/SkillFilePreview.tsx b/client/src/components/Skills/tree/SkillFilePreview.tsx index 43868bcdd4..b64968c421 100644 --- a/client/src/components/Skills/tree/SkillFilePreview.tsx +++ b/client/src/components/Skills/tree/SkillFilePreview.tsx @@ -1,5 +1,5 @@ -import { Download, FileImage, File } from 'lucide-react'; import { Button, Spinner } from '@librechat/client'; +import { Download, FileImage, File } from 'lucide-react'; import { useGetSkillNodeContentQuery } from '~/data-provider'; import { useLocalize } from '~/hooks'; import { cn } from '~/utils'; diff --git a/packages/client/src/components/Alert.tsx b/packages/client/src/components/Alert.tsx index 406b5464bf..b588bc838c 100644 --- a/packages/client/src/components/Alert.tsx +++ b/packages/client/src/components/Alert.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; -import { Info, AlertCircle, AlertTriangle, CheckCircle2 } from 'lucide-react'; import { ClassProp } from 'class-variance-authority/types'; import { cva, type VariantProps } from 'class-variance-authority'; +import { Info, AlertCircle, AlertTriangle, CheckCircle2 } from 'lucide-react'; import { cn } from '~/utils'; const alertVariants: (