fix(detail): resync reaction toggle across manga navigation
The detail page component is reused across /manga/A -> /manga/B navigations (clicking a similar or recommendation card), so ReactionButtons' locally-held `current` state kept the previous manga's reaction until interacted with — a visibly wrong thumb on the new page. Re-seed `current` from the loader-supplied prop via an effect keyed on mangaId. Also fetch the homepage's two independent /me/* shelves concurrently (Promise.allSettled) instead of in series. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
4
frontend/package-lock.json
generated
4
frontend/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "mangalord-frontend",
|
||||
"version": "0.109.0",
|
||||
"version": "0.109.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "mangalord-frontend",
|
||||
"version": "0.109.0",
|
||||
"version": "0.109.1",
|
||||
"devDependencies": {
|
||||
"@lucide/svelte": "^1.16.0",
|
||||
"@playwright/test": "^1.48.0",
|
||||
|
||||
Reference in New Issue
Block a user