lint all files

This commit is contained in:
jeffvli
2025-11-29 17:38:19 -08:00
parent 96e9d54f4e
commit 108ba53be2
30 changed files with 202 additions and 545 deletions
@@ -3,7 +3,6 @@ import { Fragment, useCallback, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { generatePath, useNavigate } from 'react-router';
import { usePlayer } from '/@/renderer/features/player/context/player-context';
import { searchQueries } from '/@/renderer/features/search/api/search-api';
import { Command, CommandPalettePages } from '/@/renderer/features/search/components/command';
import { CommandItemSelectable } from '/@/renderer/features/search/components/command-item-selectable';
@@ -40,10 +40,10 @@ export const LibraryCommandItem = ({
(e: SyntheticEvent, id: string, playType: Play) => {
e.stopPropagation();
e.preventDefault();
if (!server?.id) return;
if (!server.id) return;
addToQueueByFetch(server.id, [id], itemType, playType);
},
[addToQueueByFetch, itemType, server?.id],
[addToQueueByFetch, itemType, server],
);
const [isHovered, setIsHovered] = useState(false);