Missing logic
This commit is contained in:
@@ -7,7 +7,7 @@ function ThemeMiniCard({
|
||||
allThemes: Theme[];
|
||||
item: number;
|
||||
}) {
|
||||
const theme = allThemes.find((theme: Theme) => theme.id === item);
|
||||
const theme = allThemes?.find((theme: Theme) => theme.id === item);
|
||||
|
||||
return (
|
||||
<Group
|
||||
|
||||
@@ -227,7 +227,7 @@ function ThemePlaylistModal({
|
||||
) : (
|
||||
<SimpleGrid cols={3}>
|
||||
{selectedPlaylist.name !== 'Time of Day' &&
|
||||
allThemes.map((miniTheme: Theme) => {
|
||||
allThemes?.map((miniTheme: Theme) => {
|
||||
const newThemeList = themeList;
|
||||
return (
|
||||
<Group
|
||||
|
||||
Reference in New Issue
Block a user