mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
Add page key for album detail page
- Fixes animation render when switching between detail pages
This commit is contained in:
@@ -15,7 +15,7 @@ const AlbumDetailRoute = () => {
|
|||||||
const background = useFastAverageColor(detailQuery.data?.imageUrl);
|
const background = useFastAverageColor(detailQuery.data?.imageUrl);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AnimatedPage>
|
<AnimatedPage key={`album-detail-${albumId}`}>
|
||||||
<PageHeader
|
<PageHeader
|
||||||
useOpacity
|
useOpacity
|
||||||
position="absolute"
|
position="absolute"
|
||||||
|
|||||||
Reference in New Issue
Block a user