Moved ui slice to persist config

This commit is contained in:
Daniel Cojocea committed 2024-08-20 19:01:59 -04:00
1 parent af31c564cd
commit abd785cdf0
1 file changed
+2 -2
+2 -2
View File
@@ -15,13 +15,13 @@ const authTransform = createTransform(
// No transformation on rehydration // No transformation on rehydration
null, null,
// Only applies to auth // Only applies to auth
{ whitelist: ["auth", "ui"] } { whitelist: ["auth"] }
); );
const persistConfig = { const persistConfig = {
key: "root", key: "root",
storage, storage,
whitielist: ["auth", "monitors", "pageSpeed"], whitielist: ["auth", "monitors", "pageSpeed", "ui"],
transforms: [authTransform], transforms: [authTransform],
}; };