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