cleaned up search javascript

This commit is contained in:
John O'Keefe 2024-07-26 17:01:55 -04:00
parent e3cde57f62
commit 9e0b05fb60

View File

@ -8,23 +8,12 @@
import ChangeDataDialogue from "./ChangeDataDialogue.svelte";
// let aniSearch = ""
// let aniListSearch: AniSearchList
// let aniListSearchActive = false
let aniListLoggedIn = false
let aniListLoggedIn = false
let aniListWatchlist: AniListCurrentUserWatchList
let page = 1
let perPage = 20
const size = "xl"
//
// function runAniListSearch(): void {
// AniListSearch(aniSearch).then(result => {
// aniListSearch = result
// aniListSearchActive = true
// })
// }
function anilistGetUserWatchlist(): void {
GetAniListUserWatchingList(page, perPage, MediaListSort.UpdatedTimeDesc).then((result) => {
aniListWatchlist = result