Link to manga from updates (#646)
* added link component to avatar in updates * Fix linting issues --------- Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
00f5e8d76f
commit
1519d0447e
@@ -193,6 +193,7 @@ export const Updates: React.FC = () => {
|
||||
}}
|
||||
>
|
||||
<Box sx={{ display: 'flex' }}>
|
||||
<Link to={`/manga/${chapter.manga.id}`} style={{ textDecoration: 'none' }}>
|
||||
<Avatar
|
||||
variant="rounded"
|
||||
sx={{
|
||||
@@ -215,6 +216,7 @@ export const Updates: React.FC = () => {
|
||||
src={Mangas.getThumbnailUrl(manga)}
|
||||
/>
|
||||
</Avatar>
|
||||
</Link>
|
||||
<Box sx={{ display: 'flex', flexDirection: 'column' }}>
|
||||
<Typography variant="h5" component="h2">
|
||||
{manga.title}
|
||||
|
||||
Reference in New Issue
Block a user