mirror of
https://github.com/jeffvli/feishin.git
synced 2026-08-09 13:53:10 +02:00
8 lines
284 B
TypeScript
8 lines
284 B
TypeScript
import { useContext } from 'react';
|
|
import { PlayQueueHandlerContext } from '/@/renderer/features/player/context/play-queue-handler-context';
|
|
|
|
export const usePlayQueueAdd = () => {
|
|
const { handlePlayQueueAdd } = useContext(PlayQueueHandlerContext);
|
|
return handlePlayQueueAdd;
|
|
};
|