mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
added flow loader to global loader
This commit is contained in:
parent
7dfa6f89c7
commit
6e89271ea9
1 changed files with 3 additions and 0 deletions
|
@ -1,9 +1,12 @@
|
|||
import { useEffect } from 'react';
|
||||
import { useFlowStore } from '~/store/flow/useFlowStore';
|
||||
import { hideLoader } from '~/utils/dom/hideLoader';
|
||||
import { useFlowLoader } from '~/hooks/flow/useFlowLoader';
|
||||
|
||||
/** simply waits for all data to settle and then show the app */
|
||||
export const useGlobalLoader = () => {
|
||||
useFlowLoader();
|
||||
|
||||
const flow = useFlowStore();
|
||||
|
||||
useEffect(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue