mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +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);
|
||||
|
||||
return (
|
||||
<AnimatedPage>
|
||||
<AnimatedPage key={`album-detail-${albumId}`}>
|
||||
<PageHeader
|
||||
useOpacity
|
||||
position="absolute"
|
||||
|
||||
Reference in New Issue
Block a user