Fixed ThemePlaylist bug
This commit is contained in:
@@ -252,11 +252,13 @@ function ThemePlaylistCard({
|
||||
<ScrollArea h={'255px'} w={'100%'} style={{ zIndex: 2 }}>
|
||||
<Stack gap={4}>
|
||||
{themeList.length > 0 &&
|
||||
themeList.map((item: number) => {
|
||||
return (
|
||||
<ThemeMiniCard key={item} item={item} allThemes={allThemes} />
|
||||
);
|
||||
})}
|
||||
themeList
|
||||
.sort((a: any, b: any) => (a > b ? 1 : -1))
|
||||
.map((item: number) => {
|
||||
return (
|
||||
<ThemeMiniCard key={item} item={item} allThemes={allThemes} />
|
||||
);
|
||||
})}
|
||||
</Stack>
|
||||
</ScrollArea>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user