Skip to content

Commit

Permalink
Use correct albumb artwork
Browse files Browse the repository at this point in the history
  • Loading branch information
JHFarrant committed Jun 4, 2024
1 parent 92bb703 commit 1c24c85
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
14 changes: 5 additions & 9 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,7 @@ export default function Home() {
return {
...artists,
[matchedArtist.act_name]: {
artist: matchedArtist.related_artist_name
? matchedArtist.act_artist_data
: a,
artist: matchedArtist.act_artist_data,
setName: matchedArtist.act_name,
relatedArtistName: matchedArtist.related_artist_name,
},
Expand All @@ -307,7 +305,7 @@ export default function Home() {
return {
...artists,
[matchedArtist.act_name]: {
artist: a,
artist: matchedArtist.act_artist_data,
setName: matchedArtist.act_name,
relatedArtistName: matchedArtist.related_artist_name,
},
Expand All @@ -325,7 +323,7 @@ export default function Home() {
...trackArtists,
[matchedArtist.act_name]: {
track: t,
artist: a,
artist: matchedArtist.act_artist_data,
setName: matchedArtist.act_name,
relatedArtistName: null,
},
Expand All @@ -343,9 +341,7 @@ export default function Home() {
return {
...artists,
[matchedArtist.act_name]: {
artist: matchedArtist.related_artist_name
? matchedArtist.act_artist_data
: a,
artist: matchedArtist.act_artist_data,
setName: matchedArtist.act_name,
relatedArtistName: matchedArtist.related_artist_name,
},
Expand All @@ -361,7 +357,7 @@ export default function Home() {
return {
...artists,
[matchedArtist.act_name]: {
artist: a,
artist: matchedArtist.act_artist_data,
setName: matchedArtist.act_name,
relatedArtistName: matchedArtist.related_artist_name,
},
Expand Down
10 changes: 6 additions & 4 deletions components/itinerary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,13 @@ const Itinearry = ({
<p className={`text-xs text-center opacity-50`}>
{"Select events to add to your set menu"}
</p>
<p className={`text-xs text-red-500 text-bold text-center`}>
{"Times are not yet confirmed ⚠️"}
</p>
{!!setRecommendationsEnabled && (
<div className="min-w-150">
<ToggleSwitch
color={"success"}
theme={customThemeToggleSwitch}
checked={recommendationsEnabled}
label="Suggest similar artists using AI 😉"
label="Suggest similar artists using AI "
onChange={() =>
setRecommendationsEnabled(!recommendationsEnabled)
}
Expand Down Expand Up @@ -240,6 +237,11 @@ const Itinearry = ({
</Button>
</div>
} */}
{!!itineraryInDays.length && <p
className={`pt-5 text-xs text-red-500 text-bold text-center opacity-90`}
>
{"Times are not yet confirmed ⚠️"}
</p>}
{loadingSpotifyData && (
<div className="flex justify-center py-10">
<Spinner aria-label="Extra large spinner example" size="xl" />
Expand Down

0 comments on commit 1c24c85

Please sign in to comment.