Replace "useCategorySelect" with "GlobalDialogManager"

This commit is contained in:
schroda
2025-10-04 14:47:38 +02:00
parent d33f708104
commit b795f98766
8 changed files with 101 additions and 162 deletions

View File

@@ -49,10 +49,7 @@ export const MangaCard = memo((props: MangaCardProps) => {
settings: { showContinueReadingButton },
} = useMetadataServerSettings();
const { CategorySelectComponent, updateLibraryState, isInLibrary } = useManageMangaLibraryState(
manga,
mode === 'source',
);
const { updateLibraryState, isInLibrary } = useManageMangaLibraryState(manga, mode === 'source');
const mangaLinkTo = getMangaLinkTo(mode, manga.id, manga.sourceId, manga.title);
@@ -158,7 +155,6 @@ export const MangaCard = memo((props: MangaCardProps) => {
)}
</Menu>
)}
{CategorySelectComponent}
</>
)}
</PopupState>