fix: cleans up paginator

This commit is contained in:
2025-06-19 14:30:26 -05:00
parent e070b95a36
commit 2e468dd9b0
7 changed files with 12 additions and 20 deletions

View File

@@ -24,7 +24,6 @@ export default class extends Controller {
}
paginate(event) {
console.log(event.params.page)
this.element.querySelectorAll(".episode-container").forEach(element => element.remove());
this.component.action('paginate', {page: event.params.page});
this.component.render();