Optionally trigger manga details search in source

In case the manga was opened while browsing the source, the searches should be triggered for in the search instead of the library
This commit is contained in:
schroda
2025-05-30 18:46:57 +02:00
parent 70a984e2cb
commit 18da4c6b64
7 changed files with 111 additions and 34 deletions

View File

@@ -65,7 +65,7 @@ export const MangaGridCard = memo(
{...longPressBind(() => popupState.open(optionButtonRef.current))}
onClick={handleClick}
to={mangaLinkTo}
state={{ mangaTitle: title }}
state={Mangas.createLocationState(manga, mode)}
sx={{ textDecoration: 'none', touchCallout: 'none' }}
>
<Box