Unfollow via hx-swap=delete

This commit is contained in:
2026-07-15 16:35:05 +02:00
committed by david.alvarez
parent 8f6e891bc6
commit 406d987e94
2 changed files with 2 additions and 2 deletions
@@ -10,7 +10,7 @@
<button class="btn btn-ghost btn-xs text-error"
hx-delete="/artists/{artist.mbid}"
hx-target="#artist-{artist.mbid}"
hx-swap="outerHTML"
hx-swap="delete"
hx-on::after-request="DiscDrop.refreshFeed()">
Unfollow
</button>