[Update] Main Page: Add the software update available button.
This commit is contained in:
10
src-ui/logics/common/useIsSoftwareUpdateAvailable.js
Normal file
10
src-ui/logics/common/useIsSoftwareUpdateAvailable.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import { useStore_IsSoftwareUpdateAvailable } from "@store";
|
||||
|
||||
export const useIsSoftwareUpdateAvailable = () => {
|
||||
const { currentIsSoftwareUpdateAvailable, updateIsSoftwareUpdateAvailable } = useStore_IsSoftwareUpdateAvailable();
|
||||
|
||||
return {
|
||||
currentIsSoftwareUpdateAvailable,
|
||||
updateIsSoftwareUpdateAvailable,
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user