More typing and fixes

This commit is contained in:
Sean Edmunds
2025-04-25 15:02:00 -05:00
parent 74893ac68d
commit b280909ec9
31 changed files with 230 additions and 110 deletions

View File

@@ -32,7 +32,6 @@ function ThemePlaylistCard({
const themeList = JSON.parse(
cardPlaylist.themeList.name === 'Time of Day' ? '[]' : cardPlaylist.themeList,
);
return (
<Group
gap={0}
@@ -253,7 +252,7 @@ function ThemePlaylistCard({
<Stack gap={4}>
{themeList.length > 0 &&
themeList
.sort((a: any, b: any) => (a > b ? 1 : -1))
.sort((a: number, b: number) => (a > b ? 1 : -1))
.map((item: number) => {
return (
<ThemeMiniCard key={item} item={item} allThemes={allThemes} />