Pass manga title into location state for migration search (#731)
In case the migration search was started by clicking on a manga card from the migration page the manga title was not passed to the search and thus was missing from the page title
This commit is contained in:
@@ -68,6 +68,7 @@ export const MangaGridCard = ({
|
|||||||
{...longPressBind(() => popupState.open(optionButtonRef.current))}
|
{...longPressBind(() => popupState.open(optionButtonRef.current))}
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
to={mangaLinkTo}
|
to={mangaLinkTo}
|
||||||
|
state={{ mangaTitle: title }}
|
||||||
sx={{ textDecoration: 'none', touchCallout: 'none' }}
|
sx={{ textDecoration: 'none', touchCallout: 'none' }}
|
||||||
>
|
>
|
||||||
<Box
|
<Box
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ export const MangaListCard = ({
|
|||||||
<CardActionArea
|
<CardActionArea
|
||||||
component={RouterLink}
|
component={RouterLink}
|
||||||
to={mangaLinkTo}
|
to={mangaLinkTo}
|
||||||
|
state={{ mangaTitle: title }}
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
{...longPressBind(() => popupState.open(optionButtonRef.current))}
|
{...longPressBind(() => popupState.open(optionButtonRef.current))}
|
||||||
sx={{
|
sx={{
|
||||||
|
|||||||
Reference in New Issue
Block a user