[CodeFactor] Apply fixes

This commit is contained in:
codefactor-io 2024-01-05 14:52:59 +00:00
parent 01123e9998
commit be592e49ae
No known key found for this signature in database
GPG key ID: B66B2D63282C190F

View file

@ -71,12 +71,7 @@ export function eventDispatcher(data) {
return;
case "restarted":
displayToast(
"secondary",
"bi-bootstrap-reboot",
"Modem restarted",
5000,
);
displayToast("secondary", "bi-bootstrap-reboot", "Modem restarted", 5000);
return;
case "failed":
@ -93,11 +88,6 @@ export function eventDispatcher(data) {
break;
}
var message = "";
switch (data["type"]) {