Update AppUpdateContext to include availableUpdate in context provider, enhancing update management capabilities.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
This commit is contained in:
parent
b93b53fd33
commit
619df83ddd
@ -220,7 +220,7 @@ export const AppUpdateProvider = ({ children }) => {
|
|||||||
Boolean(installingUpdate) && updateProgress?.phase !== 'error'
|
Boolean(installingUpdate) && updateProgress?.phase !== 'error'
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AppUpdateContext.Provider value={{ checkForUpdates }}>
|
<AppUpdateContext.Provider value={{ availableUpdate, checkForUpdates }}>
|
||||||
{children}
|
{children}
|
||||||
<Modal
|
<Modal
|
||||||
open={checking}
|
open={checking}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user