From 88bbbc0ea28cec26a0296be1c88fc2a834aa7e85 Mon Sep 17 00:00:00 2001 From: Aarron Lee Date: Fri, 1 Dec 2023 20:33:34 -0500 Subject: [PATCH] add currentGameId as mutating action for rgbSlice --- src/redux-modules/rgbSlice.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/redux-modules/rgbSlice.tsx b/src/redux-modules/rgbSlice.tsx index 05e2e94..e9a8738 100644 --- a/src/redux-modules/rgbSlice.tsx +++ b/src/redux-modules/rgbSlice.tsx @@ -280,7 +280,8 @@ const mutatingActionTypes = [ rgbSlice.actions.setRgbColor.type, rgbSlice.actions.setSpeed.type, rgbSlice.actions.setBrightness.type, - rgbSlice.actions.setHue.type + rgbSlice.actions.setHue.type, + setCurrentGameId.type ]; // persist RGB settings to the backend