From b9db4433d5569176b14a97f5467e6ced1b0b34f8 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sat, 29 Nov 2025 04:15:57 -0800 Subject: [PATCH] refactor Party.svelte to use TanStack Query mutations - add mutation hooks for grid operations (delete, update, uncap) - replace clientGridService methods with mutation calls - remove unused helper function imports (removeGridItem, updateGridItem, updateGridItemUncap) - mutations handle optimistic updates and cache invalidation automatically --- src/lib/components/party/Party.svelte | 140 ++++++++++++++++---------- 1 file changed, 85 insertions(+), 55 deletions(-) diff --git a/src/lib/components/party/Party.svelte b/src/lib/components/party/Party.svelte index cfd46f26..fbcf98cb 100644 --- a/src/lib/components/party/Party.svelte +++ b/src/lib/components/party/Party.svelte @@ -1,9 +1,25 @@