Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
"react-native-localize": "^3.5.4",
"react-native-nitro-modules": "0.29.4",
"react-native-nitro-sqlite": "9.2.0",
"react-native-onyx": "3.0.51",
"react-native-onyx": "git+https://github.com/Expensify/react-native-onyx.git#13515657046bd04583078449f63f06d016e95b39",
"react-native-pager-view": "8.0.0",
"react-native-pdf": "7.0.2",
"react-native-permissions": "^5.4.0",
Expand Down
3 changes: 2 additions & 1 deletion src/libs/actions/OnyxDerived/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* The primary purpose is to optimize performance by reducing redundant computations. More info can be found in the README.
*/
import Onyx from 'react-native-onyx';
import OnyxKeys from 'react-native-onyx/dist/OnyxKeys';
import OnyxUtils from 'react-native-onyx/dist/OnyxUtils';
import Log from '@libs/Log';
import IntlStore from '@src/languages/IntlStore';
Expand Down Expand Up @@ -87,7 +88,7 @@ function init() {
const dependencyIndex = i;
const dependencyOnyxKey = dependencies[dependencyIndex];

if (OnyxUtils.isCollectionKey(dependencyOnyxKey)) {
if (OnyxKeys.isCollectionKey(dependencyOnyxKey)) {
Onyx.connectWithoutView({
key: dependencyOnyxKey,
waitForCollectionCallback: true,
Expand Down
Loading