diff --git a/native/redux/persist-constants.js b/native/redux/persist-constants.js --- a/native/redux/persist-constants.js +++ b/native/redux/persist-constants.js @@ -1,6 +1,10 @@ // @flow const rootKey = 'root'; + +// NOTE: renaming this constant requires updating +// `native/native_rust_library/build.rs` to correctly +// scrap Redux state version from this file. const storeVersion = 87; export { rootKey, storeVersion }; diff --git a/native/redux/persist.js b/native/redux/persist.js --- a/native/redux/persist.js +++ b/native/redux/persist.js @@ -1543,9 +1543,6 @@ }: MigrationFunction), }); -// NOTE: renaming this object, and especially the `version` property -// requires updating `native/native_rust_library/build.rs` to correctly -// scrap Redux state version from this file. const persistConfig = { key: rootKey, storage: AsyncStorage,