From 79a9d1f2466f58b683bdb99b6b505ed67ca3eb9b Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Thu, 11 Apr 2024 02:02:40 +0200 Subject: [PATCH] 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 --- src/components/manga/MangaGridCard.tsx | 1 + src/components/manga/MangaListCard.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/manga/MangaGridCard.tsx b/src/components/manga/MangaGridCard.tsx index c1abded9..e000de01 100644 --- a/src/components/manga/MangaGridCard.tsx +++ b/src/components/manga/MangaGridCard.tsx @@ -68,6 +68,7 @@ export const MangaGridCard = ({ {...longPressBind(() => popupState.open(optionButtonRef.current))} onClick={handleClick} to={mangaLinkTo} + state={{ mangaTitle: title }} sx={{ textDecoration: 'none', touchCallout: 'none' }} > popupState.open(optionButtonRef.current))} sx={{