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