diff --git a/internal/handlers/watchlist.go b/internal/handlers/watchlist.go
index e329aae..cd1e56d 100644
--- a/internal/handlers/watchlist.go
+++ b/internal/handlers/watchlist.go
@@ -75,16 +75,6 @@ func (h *WatchlistHandler) HandleUpdateWatchlist(w http.ResponseWriter, r *http.
return
}
- // For HTMX, we can just return a success toast or update a portion of the UI
- displayStatus := status
- switch status {
- case "on_hold":
- displayStatus = "on hold"
- case "plan_to_watch":
- displayStatus = "plan to watch"
- }
-
- w.Header().Set("HX-Trigger", fmt.Sprintf(`{"toast": "added to %s"}`, displayStatus))
templates.WatchlistDropdown(int(animeID), animeTitle, animeImage, status).Render(r.Context(), w)
}
@@ -125,8 +115,6 @@ func (h *WatchlistHandler) HandleDeleteWatchlist(w http.ResponseWriter, r *http.
return
}
- w.Header().Set("HX-Trigger", `{"toast": "removed from watchlist"}`)
-
// If called from watchlist page, just return empty (hx-swap="delete" handles removal)
if r.URL.Query().Get("from") == "watchlist" {
w.WriteHeader(http.StatusOK)
@@ -286,7 +274,6 @@ func (h *WatchlistHandler) HandleImportWatchlist(w http.ResponseWriter, r *http.
imported++
}
- w.Header().Set("HX-Trigger", fmt.Sprintf(`{"toast": "imported %d entries"}`, imported))
w.Header().Set("HX-Redirect", "/watchlist")
w.WriteHeader(http.StatusOK)
}
diff --git a/internal/templates/layout.templ b/internal/templates/layout.templ
index ec62941..7355e9f 100644
--- a/internal/templates/layout.templ
+++ b/internal/templates/layout.templ
@@ -29,23 +29,6 @@ templ Layout(title string) {