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

fixed inputs appearance and global loader

This commit is contained in:
Fedor Katurov 2022-01-04 17:47:22 +07:00
parent 811e14fd4c
commit a068f56abf
3 changed files with 14 additions and 15 deletions

View file

@ -82,13 +82,5 @@ export const useFlowLoader = () => {
}
}, [flow]);
useEffect(() => {
if (flow.isRefreshed) {
return;
}
void getInitialNodes();
}, [flow, getInitialNodes]);
return { getInitialNodes, isSyncing, loadMore };
};