Skip to content

Commit

Permalink
y
Browse files Browse the repository at this point in the history
  • Loading branch information
Delusoire committed Jul 13, 2024
1 parent 052b22f commit 922bf60
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions modules/statistics/pages/top_artists.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ interface ArtistsPageContentProps {
topArtists: any[];
}
const ArtistsPageContent = ({ topArtists }: ArtistsPageContentProps) => {
// TODO: CLASSMAP iKwGKEfAfW7Rkx2_Ba4E gridContainer
return (
<div className={"main-gridContainer-gridContainer grid"}>
<div className={`${"iKwGKEfAfW7Rkx2_Ba4E"} grid`}>
{topArtists.map((artist, index) => (
<SpotifyCard
type={"artist"}
Expand Down Expand Up @@ -62,7 +63,11 @@ const ArtistsPage = () => {
return (
<PageContainer
title="Top Artists"
headerRight={[dropdown, status !== "pending" && <RefreshButton refresh={refetch} />, settingsButton]}
headerRight={[
dropdown,
status !== "pending" && <RefreshButton refresh={refetch} />,
settingsButton,
]}
>
{Status || <ArtistsPageContent topArtists={data.items} />}
</PageContainer>
Expand Down

0 comments on commit 922bf60

Please sign in to comment.