Moved ui slice to persist config
This commit is contained in:
1 parent
af31c564cd
commit
abd785cdf0
1 file changed
+2
-2
+2
-2
@@ -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],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user