Исправление некликабельной кнопки kernel update

This commit is contained in:
RoyceDa
2026-02-18 19:20:27 +02:00
parent 53a9c0037f
commit 67ef2b7ea7
3 changed files with 9 additions and 10 deletions

View File

@@ -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>