More typing and fixes
This commit is contained in:
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user