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