mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 05:46:17 +00:00
feat: code review
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -13,8 +13,6 @@ export const restartAndInstallUpdate = () => {
|
||||
|
||||
const restartAndInstallUpdateEvent = async (
|
||||
_event: Electron.IpcMainInvokeEvent
|
||||
) => {
|
||||
restartAndInstallUpdate();
|
||||
};
|
||||
) => restartAndInstallUpdate();
|
||||
|
||||
registerEvent("restartAndInstallUpdate", restartAndInstallUpdateEvent);
|
||||
|
||||
@@ -105,9 +105,9 @@ export function SettingsBehavior() {
|
||||
<CheckboxField
|
||||
label={t("enable_auto_install")}
|
||||
checked={form.enableAutoInstall}
|
||||
onChange={() => {
|
||||
handleChange({ enableAutoInstall: !form.enableAutoInstall });
|
||||
}}
|
||||
onChange={() =>
|
||||
handleChange({ enableAutoInstall: !form.enableAutoInstall })
|
||||
}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user