resolved some more type issues

This commit is contained in:
Jack Case
2025-10-30 22:33:16 +00:00
parent 4e966102ee
commit c4c0119f66
2 changed files with 6 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
const API_URL: string = "https://api.slopfarmer.jack-case.pro"
let access_token: string
const login_form = document.getElementById("login-form")
const login_form = document.getElementById("login-form") as HTMLFormElement
if(login_form) {
const login_status = document.getElementById("login-status")
if (localStorage.getItem("accessToken")) {
@@ -153,6 +153,8 @@ async function on_button_clicked_handler(tab: any) {
const path = tab_url.pathname
await insert_slop(domain, path)
// @ts-ignore
update_page_action_icon({frameId: 0, tabId: tab.id, url: tab.url})
}