fix: eslint
This commit is contained in:
parent
81fa0b80e8
commit
674a6300f0
@ -2,7 +2,7 @@
|
||||
|
||||
import { useEffect } from 'react'
|
||||
|
||||
import { AppConfiguration, getUserHomePath, joinPath } from '@janhq/core'
|
||||
import { AppConfiguration, getUserHomePath } from '@janhq/core'
|
||||
|
||||
import { useSetAtom } from 'jotai'
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
import { Fragment, ReactNode, useEffect } from 'react'
|
||||
|
||||
import { AppConfiguration, getUserHomePath, joinPath } from '@janhq/core'
|
||||
import { AppConfiguration, getUserHomePath } from '@janhq/core'
|
||||
import { useSetAtom } from 'jotai'
|
||||
|
||||
import useAssistants from '@/hooks/useAssistants'
|
||||
|
||||
@ -27,7 +27,7 @@ const Tools = () => {
|
||||
const componentDataAssistantSetting = getConfigurationsData(
|
||||
(activeThread?.assistants[0]?.tools &&
|
||||
activeThread?.assistants[0]?.tools[0]?.settings) ??
|
||||
{}
|
||||
{}
|
||||
)
|
||||
|
||||
useEffect(() => {
|
||||
@ -223,7 +223,6 @@ const Tools = () => {
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<AssistantSetting
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user