diff --git a/src/components/manga/MangaCard.tsx b/src/components/manga/MangaCard.tsx index 62203b45d4..1640495739 100644 --- a/src/components/manga/MangaCard.tsx +++ b/src/components/manga/MangaCard.tsx @@ -81,7 +81,7 @@ interface IProps { const MangaCard = React.forwardRef((props: IProps, ref) => { const { manga: { - id, title, thumbnailUrl, unread_count: unread, + id, title, thumbnailUrl, unreadCount: unread, }, } = props; const classes = useStyles(); diff --git a/src/typings.d.ts b/src/typings.d.ts index b8d339caa5..0b2768ff91 100644 --- a/src/typings.d.ts +++ b/src/typings.d.ts @@ -34,7 +34,7 @@ interface IMangaCard { id: number title: string thumbnailUrl: string - unread_count?: number + unreadCount?: number } interface IManga { @@ -57,7 +57,7 @@ interface IManga { realUrl: string freshData: boolean - unread_count?: number + unreadCount?: number } interface IChapter {