Missing logic

This commit is contained in:
2025-04-16 00:38:23 -05:00
parent ae347112e8
commit 5697045fe6
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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