Skip to content

Commit

Permalink
chore(webui): fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bambanah committed Sep 12, 2024
1 parent 0df8447 commit 1b43adf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions webui/src/client/components/downloads/TheDownloadBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,7 @@ function cancelQueue() {
}
function openDownloadsFolder() {
// if (this.clientMode) {
// @ts-expect-error
window.api.send("openDownloadsFolder");
// }
}
function handleDrag(event) {
Expand Down
1 change: 0 additions & 1 deletion webui/src/client/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ function initClient() {
}

document.addEventListener("DOMContentLoaded", startApp);
// @ts-expect-error
if (window.api) {
initClient();
}
Expand Down
3 changes: 2 additions & 1 deletion webui/src/server/routes/api/post/saveSettings.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { ApiHandler, Settings, SpotifySettings } from "../../../types.js";
import type { ApiHandler } from "@/types.js";
import type { Settings, SpotifySettings } from "deemix";

const path = "/saveSettings";

Expand Down

0 comments on commit 1b43adf

Please sign in to comment.