mirror of
https://github.com/anultravioletaurora/Jellify.git
synced 2025-12-21 13:30:11 -06:00
clean up unused variables
This commit is contained in:
@@ -42,9 +42,6 @@ export const PlayerProvider: () => React.JSX.Element = () => {
|
|||||||
const eventHandler = useCallback(
|
const eventHandler = useCallback(
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
async (event: any) => {
|
async (event: any) => {
|
||||||
console.debug(`Received RNTP event, ${JSON.stringify(event)}`)
|
|
||||||
let nowPlaying: JellifyTrack | undefined
|
|
||||||
|
|
||||||
switch (event.type) {
|
switch (event.type) {
|
||||||
case Event.PlaybackActiveTrackChanged:
|
case Event.PlaybackActiveTrackChanged:
|
||||||
// When we load a new queue, our index is updated before RNTP
|
// When we load a new queue, our index is updated before RNTP
|
||||||
|
|||||||
Reference in New Issue
Block a user