going to try to call this function from Search

This commit is contained in:
John O'Keefe 2024-07-25 16:29:28 -04:00
parent e004933d52
commit 93f54d8425

View File

@ -36,9 +36,7 @@
})
}
function GetAniListSingleItemAndOpenModal(aniId: number): void {
export function GetAniListSingleItemAndOpenModal(aniId: number): void {
GetAniListItem(aniId).then(result => {
anime = result
title = anime.data.MediaList.media.title.english === "" ?
@ -108,7 +106,6 @@
Episodes: {media.media.episodes}</p>
{/if}
</button>
<!-- <Button on:click={() => (anilistModal = true)}>Default modal</Button>-->
{/each}
</div>
</div>