migrate genre type

This commit is contained in:
Aria Moradi
2021-09-05 01:11:25 +04:30
parent ba26d852dc
commit e4853864ec
7 changed files with 29 additions and 7 deletions

View File

@@ -63,7 +63,7 @@ export default function AnimeSearchSingle() {
if (searchTerm.length > 0) {
client.get(`/api/v1/anime/source/${sourceId}/search/${searchTerm}/${lastPageNum}`)
.then((response) => response.data)
.then((data: { mangaList: IManga[], hasNextPage: boolean }) => {
.then((data: { mangaList: IAnime[], hasNextPage: boolean }) => {
setMessage('');
if (data.mangaList.length > 0) {
setMangas([