From abd785cdf08ce3bf29842d9724c9e2a4a7bfe03c Mon Sep 17 00:00:00 2001 From: Daniel Cojocea Date: Tue, 20 Aug 2024 19:01:59 -0400 Subject: [PATCH] Moved ui slice to persist config --- Client/src/store.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Client/src/store.js b/Client/src/store.js index a11fdf409..0c9a18b54 100644 --- a/Client/src/store.js +++ b/Client/src/store.js @@ -15,13 +15,13 @@ const authTransform = createTransform( // No transformation on rehydration null, // Only applies to auth - { whitelist: ["auth", "ui"] } + { whitelist: ["auth"] } ); const persistConfig = { key: "root", storage, - whitielist: ["auth", "monitors", "pageSpeed"], + whitielist: ["auth", "monitors", "pageSpeed", "ui"], transforms: [authTransform], };