fix code
parent
aa576fe7db
commit
8a20b773fb
|
@ -26,7 +26,7 @@ let stopingServer = false
|
||||||
let host = 'http://localhost'
|
let host = 'http://localhost'
|
||||||
|
|
||||||
const codeTools: {
|
const codeTools: {
|
||||||
timeout: NodeJS.Timer | null
|
timeout: NodeJS.Timeout | null
|
||||||
start: () => void
|
start: () => void
|
||||||
stop: () => void
|
stop: () => void
|
||||||
} = {
|
} = {
|
||||||
|
|
|
@ -42,7 +42,7 @@ export const filterList = async({ playedList, listId, list, playerMusicInfo, isN
|
||||||
return { filteredList: markRawList(filteredList), playerIndex }
|
return { filteredList: markRawList(filteredList), playerIndex }
|
||||||
}
|
}
|
||||||
|
|
||||||
let timeout: NodeJS.Timer | null = null
|
let timeout: NodeJS.Timeout | null = null
|
||||||
const clearTimer = () => {
|
const clearTimer = () => {
|
||||||
if (!timeout) return
|
if (!timeout) return
|
||||||
clearTimeout(timeout)
|
clearTimeout(timeout)
|
||||||
|
|
Loading…
Reference in New Issue