fix lint warnings

This commit is contained in:
Proddy
2023-04-22 10:05:13 +02:00
parent 19e8e4a7a1
commit 209afc87bb
19 changed files with 37 additions and 40 deletions

View File

@@ -95,7 +95,7 @@ const SettingsApplication: FC = () => {
try {
setFieldErrors(undefined);
await validate(createSettingsValidator(data), data);
saveData();
void saveData();
} catch (errors: any) {
setFieldErrors(errors);
}
@@ -110,12 +110,12 @@ const SettingsApplication: FC = () => {
board_profile: boardProfile
});
} else {
updateBoardProfile(boardProfile);
void updateBoardProfile(boardProfile);
}
};
const restart = async () => {
validateAndSubmit();
void validateAndSubmit();
try {
await EMSESP.restart();
setRestarting(true);