1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

added nextjs flow preloading

This commit is contained in:
Fedor Katurov 2022-01-20 16:33:40 +07:00
parent 6f161d12ff
commit 1f296e9ed8
6 changed files with 90 additions and 66 deletions

View file

@ -5,6 +5,7 @@ import { useFlowLoader } from '~/hooks/flow/useFlowLoader';
import { useFlowSetCellView } from '~/hooks/flow/useFlowSetCellView';
import { useGetLabStats } from '~/hooks/lab/useGetLabStats';
import { useFlowStore } from '~/store/flow/useFlowStore';
import { GetNodeDiffResult } from '~/types/node';
export const useFlow = () => {
const { loadMore, isSyncing } = useFlowLoader();