diff --git a/package-lock.json b/package-lock.json index 284b0c706a8f..f676c20adceb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -105,7 +105,7 @@ "react-native-launch-arguments": "^4.0.2", "react-native-localize": "^2.2.6", "react-native-modal": "^13.0.0", - "react-native-onyx": "2.0.99", + "react-native-onyx": "2.0.100", "react-native-pager-view": "6.5.2", "react-native-pdf": "6.7.3", "react-native-performance": "^5.1.0", @@ -33025,9 +33025,9 @@ } }, "node_modules/react-native-onyx": { - "version": "2.0.99", - "resolved": "https://registry.npmjs.org/react-native-onyx/-/react-native-onyx-2.0.99.tgz", - "integrity": "sha512-w6TQBCvCJH4y6OJLCrcBtPCIe549qlFW3pm2fQV9urUJCg6/flYWqVy4w3TkPy7JZARplB5+dVDkl9eFcP5Q0Q==", + "version": "2.0.100", + "resolved": "https://registry.npmjs.org/react-native-onyx/-/react-native-onyx-2.0.100.tgz", + "integrity": "sha512-s/OaBmjzQ1oodChaEwsW0pHZ0LRD/L0e0TxCgNRF5kzBnh5tHSNZuoCDW5h7fMZrBQ+qmuFvkJya6Gb9ojcWVA==", "license": "MIT", "dependencies": { "ascii-table": "0.0.9", diff --git a/package.json b/package.json index 0b57be5459a3..41d0aa708f5e 100644 --- a/package.json +++ b/package.json @@ -172,7 +172,7 @@ "react-native-launch-arguments": "^4.0.2", "react-native-localize": "^2.2.6", "react-native-modal": "^13.0.0", - "react-native-onyx": "2.0.99", + "react-native-onyx": "2.0.100", "react-native-pager-view": "6.5.2", "react-native-pdf": "6.7.3", "react-native-performance": "^5.1.0", diff --git a/src/types/utils/isLoadingOnyxValue.ts b/src/types/utils/isLoadingOnyxValue.ts index 7d5bfa88ba2e..14617dab0cfe 100644 --- a/src/types/utils/isLoadingOnyxValue.ts +++ b/src/types/utils/isLoadingOnyxValue.ts @@ -1,6 +1,6 @@ import type {ResultMetadata} from 'react-native-onyx'; -function isLoadingOnyxValue(...results: ResultMetadata[]): boolean { +function isLoadingOnyxValue(...results: Array>): boolean { return results.some((result) => result.status === 'loading'); }