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

@@ -45,7 +45,7 @@ export default function Player() {
setTitle('Reader');
client.get(`/api/v1/anime/anime/${animeId}/`)
.then((response) => response.data)
.then((data: IManga) => {
.then((data: IAnime) => {
setTitle(data.title);
});
}, [episodeIndex]);