Skip to content

Commit

Permalink
chore: fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Dec 31, 2024
1 parent 5e9f180 commit c1ada22
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions web/screens/Settings/Engines/RemoteEngineSettings.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable react/no-unescaped-entities */

import React, { useCallback, useRef } from 'react'

import {
Expand All @@ -11,13 +14,14 @@ interface EngineConfig extends OriginalEngineConfig {

import { ScrollArea, Input, TextArea } from '@janhq/joi'

import { ChevronRight } from 'lucide-react'
import { twMerge } from 'tailwind-merge'

import {
updateEngine,
useGetEngines,
useGetRemoteModels,
} from '@/hooks/useEngineManagement'
import { twMerge } from 'tailwind-merge'
import { ChevronRight } from 'lucide-react'

const RemoteEngineSettings = ({
engine: name,
Expand Down
5 changes: 3 additions & 2 deletions web/screens/Settings/SettingDetail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ import AppearanceOptions from '@/screens/Settings/Appearance'
import ExtensionCatalog from '@/screens/Settings/CoreExtensions'
import Engines from '@/screens/Settings/Engines'
import LocalEngineSettings from '@/screens/Settings/Engines/LocalEngineSettings'
import RemoteEngineSettings from '@/screens/Settings/Engines/RemoteEngineSettings'
import ExtensionSetting from '@/screens/Settings/ExtensionSetting'
import Hotkeys from '@/screens/Settings/Hotkeys'
import MyModels from '@/screens/Settings/MyModels'
import Privacy from '@/screens/Settings/Privacy'

import { selectedSettingAtom } from '@/helpers/atoms/Setting.atom'
import { isLocalEngine } from '@/utils/modelEngine'
import RemoteEngineSettings from '@/screens/Settings/Engines/RemoteEngineSettings'

import { selectedSettingAtom } from '@/helpers/atoms/Setting.atom'

const SettingDetail = () => {
const selectedSetting = useAtomValue(selectedSettingAtom)
Expand Down

0 comments on commit c1ada22

Please sign in to comment.