Add page key for album detail page
- Fixes animation render when switching between detail pages
This commit is contained in:
parent
f298e60929
commit
b3d95f765c
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ const AlbumDetailRoute = () => {
|
|||
const background = useFastAverageColor(detailQuery.data?.imageUrl);
|
||||
|
||||
return (
|
||||
<AnimatedPage>
|
||||
<AnimatedPage key={`album-detail-${albumId}`}>
|
||||
<PageHeader
|
||||
useOpacity
|
||||
position="absolute"
|
||||
|
|
Reference in a new issue