{/* Text body and previous/next links */} @@ -104,10 +127,15 @@ export default function AlbumView({ album }: AlbumViewProps): JSX.Element { {album.next_in_series || album.previous_in_series ? (
{album.next_in_series ? ( - « {album.next_in_series.title} + + « {album.next_in_series.title} + ) : null} {album.previous_in_series ? ( - + {album.previous_in_series.title} » ) : null} @@ -118,12 +146,12 @@ export default function AlbumView({ album }: AlbumViewProps): JSX.Element { ) : null} {/* Subalbums */} - {album.layout === 'yearly' ? ( + {album.layout === "yearly" ? (
{groupAlbumsByYear(album.subalbums).map(({ year, subalbums }) => { return ( -
-

{year ? year : t(r => r.unknownYear)}

+
+

{year ? year : t.unknownYear}

); @@ -137,7 +165,7 @@ export default function AlbumView({ album }: AlbumViewProps): JSX.Element {