[Update] Add Starting Up Animation and downloading models progress display.
Backend: Move the init progressed position 4 to a little bit earlier.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
export { useInitProgress } from "./useInitProgress";
|
||||
export { useIsBackendReady } from "./useIsBackendReady";
|
||||
export { useWindow } from "./useWindow";
|
||||
export { useIsOpenedConfigPage } from "./useIsOpenedConfigPage";
|
||||
|
||||
10
src-ui/logics/common/useInitProgress.js
Normal file
10
src-ui/logics/common/useInitProgress.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import { useStore_InitProgress } from "@store";
|
||||
|
||||
export const useInitProgress = () => {
|
||||
const { currentInitProgress, updateInitProgress } = useStore_InitProgress();
|
||||
|
||||
return {
|
||||
currentInitProgress,
|
||||
updateInitProgress,
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user