Skip to content

Commit

Permalink
Update searchpal.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinLiquid authored May 11, 2024
1 parent d0c46fa commit 15b7af2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/searchpal.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import HTML from '@datkat21/html'
import { Album, Playlist, SearchResults, SimplifiedAlbum, SpotifyApi, Track } from '@spotify/web-api-ts-sdk'
import Player from './player'
import localforage from 'localforage'
import { CachedData } from './types'
import { throttle } from 'throttle-debounce'
import Queue from './queue'

Expand Down Expand Up @@ -313,7 +311,7 @@ class SearchPalette {
throttle(1000, async () => {
const query = this.input.getValue()
if (query === '') {
this.renderCached()
this.container.html('')
return
}
if (this.sdk != null) {
Expand Down

0 comments on commit 15b7af2

Please sign in to comment.