From 6efb9effde646dc9658c887e5848b33482bcab90 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 27 May 2024 05:41:37 -0700 Subject: feat(hololive): parallax image for thumbnails --- src/routes/user/[user]/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/routes/user') diff --git a/src/routes/user/[user]/+page.svelte b/src/routes/user/[user]/+page.svelte index 186b53c3..4152c9f4 100644 --- a/src/routes/user/[user]/+page.svelte +++ b/src/routes/user/[user]/+page.svelte @@ -70,7 +70,7 @@ const categories = preferences.pinned_badge_wall_categories; const draggedIndex = categories.indexOf(draggedCategory); - const targetIndex = categories.indexOf(category); + const targetIndex = categories.indexOf(category || ''); categories.splice(draggedIndex, 1); categories.splice(targetIndex, 0, draggedCategory); -- cgit v1.2.3