Fix clear, clean up

This commit is contained in:
jeffvli 2023-08-04 12:29:55 -07:00
parent f6d239d87c
commit 1327d58b23
3 changed files with 1 additions and 12 deletions

View file

@ -413,7 +413,6 @@ export const ContextMenuProvider = ({ children }: ContextMenuProviderProps) => {
if (ctx.dataNodes) {
for (const node of ctx.dataNodes) {
console.log('node.data.itemType :>> ', node.data.itemType);
switch (node.data.itemType) {
case LibraryItem.ALBUM:
albumId.push(node.data.id);
@ -448,8 +447,6 @@ export const ContextMenuProvider = ({ children }: ContextMenuProviderProps) => {
}
}
console.log('genreId', genreId);
openContextModal({
innerProps: {
albumId: albumId.length > 0 ? albumId : undefined,