We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45d9d0b commit 42e8f47Copy full SHA for 42e8f47
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-redux-firebase",
3
- "version": "1.4.1",
+ "version": "1.4.2",
4
"description": "Redux integration for Firebase. Comes with a Higher Order Component for use with React.",
5
"browser": "dist/react-redux-firebase.js",
6
"main": "lib/index.js",
src/utils/query.js
@@ -1,10 +1,11 @@
import { actionTypes } from '../constants'
+import { isNaN } from 'lodash'
const { UNSET_LISTENER } = actionTypes
const tryParseToNumber = (value) => {
7
const result = Number(value)
- if (Number.isNaN(result)) {
8
+ if (isNaN(result)) {
9
return value
10
}
11
return result
0 commit comments