fix: some lint

This commit is contained in:
Joel 2025-07-29 16:29:59 +08:00
parent 27f65150d7
commit 240f6890f1
1 changed files with 2 additions and 1 deletions

View File

@ -58,6 +58,7 @@ const singleRunFormParamsHooks: Record<BlockEnum, any> = {
[BlockEnum.LoopStart]: undefined,
[BlockEnum.LoopEnd]: undefined,
[BlockEnum.DataSource]: undefined,
[BlockEnum.DataSourceEmpty]: undefined,
[BlockEnum.KnowledgeBase]: undefined,
}
@ -92,6 +93,7 @@ const getDataForCheckMoreHooks: Record<BlockEnum, any> = {
[BlockEnum.LoopStart]: undefined,
[BlockEnum.LoopEnd]: undefined,
[BlockEnum.DataSource]: undefined,
[BlockEnum.DataSourceEmpty]: undefined,
[BlockEnum.KnowledgeBase]: undefined,
}
@ -202,7 +204,6 @@ const useLastRun = <T>({
setTabType(TabType.lastRun)
setInitShowLastRunTab(false)
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [initShowLastRunTab])
const invalidLastRun = useInvalidLastRun(flowType, flowId, id)