Исправление некликабельной кнопки kernel update
This commit is contained in:
@@ -39,6 +39,7 @@ export interface UpdateContextValue {
|
||||
checkForUpdates: () => void;
|
||||
downloadLastApplicationUpdate: () => void;
|
||||
restartAppForUpdateApply: () => void;
|
||||
updateServer: string | null;
|
||||
}
|
||||
|
||||
export const UpdateProviderContext = createContext<UpdateContextValue | null>(null);
|
||||
@@ -167,7 +168,8 @@ export function UpdateProvider(props: UpdateProviderProps) {
|
||||
kernelUpdateUrl,
|
||||
checkForUpdates,
|
||||
downloadLastApplicationUpdate,
|
||||
restartAppForUpdateApply
|
||||
restartAppForUpdateApply,
|
||||
updateServer: updateServerRef.current
|
||||
}}>
|
||||
{props.children}
|
||||
</UpdateProviderContext.Provider>
|
||||
|
||||
Reference in New Issue
Block a user