Skip to content

Commit 24fd6b0

Browse files
committed
fix(docs): fix typo on ‘preserveOnLogout’
1 parent 20c89c5 commit 24fd6b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api/enhancer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ along side applyMiddleware.
2727
profile when logging in. (default: `true`)
2828
- `config.resetBeforeLogin` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Whether or not to empty profile
2929
and auth state on login
30-
- `config.perserveOnLogout` **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object) \| [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array))** Data parameters to perserve
30+
- `config.preserveOnLogout` **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object) \| [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array))** Data parameters to preserve
3131
when logging out. If Array is passed, each item represents keys
3232
within `state.firebase.data` to preserve. If an object is passed,
3333
keys associate with slices of state to preserve, and the values can be either

src/enhancer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ let firebaseInstance
2626
* profile when logging in. (default: `true`)
2727
* @param {Boolean} config.resetBeforeLogin - Whether or not to empty profile
2828
* and auth state on login
29-
* @param {Object|Array} config.perserveOnLogout - Data parameters to perserve
29+
* @param {Object|Array} config.preserveOnLogout - Data parameters to preserve
3030
* when logging out. If Array is passed, each item represents keys
3131
* within `state.firebase.data` to preserve. If an object is passed,
3232
* keys associate with slices of state to preserve, and the values can be either

0 commit comments

Comments
 (0)