From 8987c50d49bf36bbc7f926822bf4631c20672f60 Mon Sep 17 00:00:00 2001 From: mbrucedogs Date: Thu, 24 Jul 2025 21:33:09 -0500 Subject: [PATCH] Signed-off-by: mbrucedogs --- src/redux/queueSlice.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/redux/queueSlice.ts b/src/redux/queueSlice.ts index 34b87cd..5d8a652 100644 --- a/src/redux/queueSlice.ts +++ b/src/redux/queueSlice.ts @@ -172,9 +172,8 @@ const queueSlice = createSlice({ state.loading = true; state.error = null; }) - .addCase(removeFromQueue.fulfilled, (state, action) => { + .addCase(removeFromQueue.fulfilled, (state) => { state.loading = false; - const { key } = action.payload; // Clear the queue state - the real-time sync will update it with the new data state.data = {}; @@ -208,9 +207,8 @@ const queueSlice = createSlice({ state.loading = true; state.error = null; }) - .addCase(reorderQueueAsync.fulfilled, (state, action) => { + .addCase(reorderQueueAsync.fulfilled, (state) => { state.loading = false; - const { updates } = action.payload; // Clear the queue state - the real-time sync will update it with the new data state.data = {};