mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 04:20:07 +02:00
lint all files
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user