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
|
||||
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],
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user