Use up-to-date manga data for selection fab actions (#526)
The selected manga data was only updated in case the selection changed, thus, after executing an action, the used data was outdated
This commit is contained in:
@@ -117,7 +117,7 @@ export function Library() {
|
|||||||
fragmentName: 'PARTIAL_MANGA_FIELDS',
|
fragmentName: 'PARTIAL_MANGA_FIELDS',
|
||||||
})!,
|
})!,
|
||||||
),
|
),
|
||||||
[selectedItemIds.length],
|
[selectedItemIds.length, mangas],
|
||||||
);
|
);
|
||||||
|
|
||||||
const { setTitle, setAction } = useContext(NavBarContext);
|
const { setTitle, setAction } = useContext(NavBarContext);
|
||||||
|
|||||||
Reference in New Issue
Block a user