Skip to content

Commit

Permalink
fix: remove stats when query is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Oct 25, 2024
1 parent a1a7313 commit f0e5f7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/search/js/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export default class Renderer {
clean() {
this.results = []
this.getContainer().innerHTML = ''
this.getStatistics().innerHTML = ''
}

icon(page) {
Expand Down

0 comments on commit f0e5f7d

Please sign in to comment.