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' }}>
|
<Box sx={{ display: 'flex' }}>
|
||||||
|
<Link to={`/manga/${chapter.manga.id}`} style={{ textDecoration: 'none' }}>
|
||||||
<Avatar
|
<Avatar
|
||||||
variant="rounded"
|
variant="rounded"
|
||||||
sx={{
|
sx={{
|
||||||
@@ -215,6 +216,7 @@ export const Updates: React.FC = () => {
|
|||||||
src={Mangas.getThumbnailUrl(manga)}
|
src={Mangas.getThumbnailUrl(manga)}
|
||||||
/>
|
/>
|
||||||
</Avatar>
|
</Avatar>
|
||||||
|
</Link>
|
||||||
<Box sx={{ display: 'flex', flexDirection: 'column' }}>
|
<Box sx={{ display: 'flex', flexDirection: 'column' }}>
|
||||||
<Typography variant="h5" component="h2">
|
<Typography variant="h5" component="h2">
|
||||||
{manga.title}
|
{manga.title}
|
||||||
|
|||||||
Reference in New Issue
Block a user