[Update] Add updating display.
This commit is contained in:
1 parent
a55e1dd59f
commit
043208f58f
7 files changed
+102
-2
No files matched your search
@@ -4,6 +4,7 @@ export { useIsBackendReady } from "./useIsBackendReady";
|
||||
export { useWindow } from "./useWindow";
|
||||
export { useIsOpenedConfigPage } from "./useIsOpenedConfigPage";
|
||||
export { useIsSoftwareUpdateAvailable } from "./useIsSoftwareUpdateAvailable";
|
||||
export { useIsSoftwareUpdating } from "./useIsSoftwareUpdating";
|
||||
export { useOpenFolder } from "./useOpenFolder";
|
||||
export { useMessage } from "./useMessage";
|
||||
export { useUpdateSoftware } from "./useUpdateSoftware";
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
import { useStore_IsSoftwareUpdating } from "@store";
|
||||
|
||||
export const useIsSoftwareUpdating = () => {
|
||||
const { currentIsSoftwareUpdating, updateIsSoftwareUpdating } = useStore_IsSoftwareUpdating();
|
||||
|
||||
return {
|
||||
currentIsSoftwareUpdating,
|
||||
updateIsSoftwareUpdating,
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user