Add page key for album detail page

- Fixes animation render when switching between detail pages
This commit is contained in:
jeffvli 2022-12-30 21:12:27 -08:00
parent f298e60929
commit b3d95f765c

View file

@ -15,7 +15,7 @@ const AlbumDetailRoute = () => {
const background = useFastAverageColor(detailQuery.data?.imageUrl);
return (
<AnimatedPage>
<AnimatedPage key={`album-detail-${albumId}`}>
<PageHeader
useOpacity
position="absolute"