Update the anchor index in the cache when marking as read

This commit is contained in:
Jackson Harper
2023-03-11 08:14:40 +08:00
parent 5cd5f57b4e
commit faa2912f24

View File

@ -365,6 +365,7 @@ export function useGetLibraryItemsQuery({
node: {
...item.node,
readingProgressPercent: 0,
readingProgressAnchorIndex: 0,
},
})
articleReadingProgressMutation({