You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`'${previousKey}' key can't be changed to '${key}'. useOnyx() only supports dynamic keys if they are both collection member keys from the same collection e.g. from 'collection_id1' to 'collection_id2'.`,
166
-
);
167
-
}
168
-
169
-
thrownewError(
170
-
`'${previousKey}' key can't be changed to '${key}'. useOnyx() only supports dynamic keys if they are both collection member keys from the same collection e.g. from 'collection_id1' to 'collection_id2'.`,
171
-
);
172
-
},[previousKey,key,options?.allowDynamicKey]);
173
-
174
145
// Track previous dependencies to prevent infinite loops
Copy file name to clipboardExpand all lines: tests/unit/useOnyxTest.ts
-105Lines changed: 0 additions & 105 deletions
Original file line number
Diff line number
Diff line change
@@ -35,111 +35,6 @@ beforeEach(async () => {
35
35
});
36
36
37
37
describe('useOnyx',()=>{
38
-
describe('dynamic key',()=>{
39
-
consterror=(key1: string,key2: string)=>
40
-
`'${key1}' key can't be changed to '${key2}'. useOnyx() only supports dynamic keys if they are both collection member keys from the same collection e.g. from 'collection_id1' to 'collection_id2'.`;
0 commit comments