feat: add CreateFlowModal #918 (#1343)

### What problem does this PR solve?

feat: add CreateFlowModal #918

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-07-02 16:15:54 +08:00
committed by GitHub
parent 04487d1bce
commit f9adeb9647
11 changed files with 185 additions and 24 deletions

View File

@ -1,9 +1,5 @@
import { useSetModalState } from '@/hooks/commonHooks';
import {
useFetchFlow,
useFetchFlowTemplates,
useSetFlow,
} from '@/hooks/flow-hooks';
import { useFetchFlow, useSetFlow } from '@/hooks/flow-hooks';
import { useFetchLlmList } from '@/hooks/llmHooks';
import { IGraph } from '@/interfaces/database/flow';
import { useIsFetching } from '@tanstack/react-query';
@ -221,7 +217,6 @@ export const useFetchDataOnMount = () => {
useWatchGraphChange();
useFetchFlowTemplates();
useFetchLlmList();
return { loading, flowDetail: data };