fix a bug where add to library didn't work

This commit is contained in:
Aria Moradi 2021-03-28 02:43:09 +04:30
parent 1eb4a9c216
commit 9e649eef79

View File

@ -136,7 +136,7 @@ export default function MangaDetails(props: IProps) {
const { manga } = props;
const [inLibrary, setInLibrary] = useState<string>(
manga.inLibrary ? 'In Library' : 'Add to Library',
manga.inLibrary ? 'In Library' : 'Add To Library',
);
const [categoryDialogOpen, setCategoryDialogOpen] = useState<boolean>(false);