reader done

This commit is contained in:
Aria Moradi
2021-01-20 01:05:24 +03:30
parent 5d9173d3f7
commit a7e63565ef
5 changed files with 55 additions and 5 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ export default function ChapterCard(props: IProps) {
</div>
</div>
<div style={{ display: 'flex' }}>
<Button variant="outlined" style={{ marginLeft: 20 }} onClick={() => { window.location.href = `http://127.0.0.1:4567/api/v1/chapter/${chapter.id}`; }}>open</Button>
<Button variant="outlined" style={{ marginLeft: 20 }} onClick={() => { window.location.href = `/manga/${chapter.mangaId}/chapter/${chapter.id}`; }}>open</Button>
</div>
</CardContent>
</Card>