feat: code review

This commit is contained in:
Zamitto
2025-03-14 07:08:46 -03:00
parent 0e67e21223
commit 61b2710219
3 changed files with 5 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@@ -13,8 +13,6 @@ export const restartAndInstallUpdate = () => {
const restartAndInstallUpdateEvent = async (
_event: Electron.IpcMainInvokeEvent
) => {
restartAndInstallUpdate();
};
) => restartAndInstallUpdate();
registerEvent("restartAndInstallUpdate", restartAndInstallUpdateEvent);

View File

@@ -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 })
}
/>
)}