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 38c752c commit c731ed7Copy full SHA for c731ed7
1 file changed
src/libs/actions/OnyxDerived/index.ts
@@ -81,12 +81,6 @@ function init() {
81
context.areAllConnectionsSet = areAllConnectionsSet;
82
context.sourceValues = sourceKey && sourceValue !== undefined ? {[sourceKey]: sourceValue} : undefined;
83
84
- // If we got a source key and value, add it to the sourceValues object
85
- if (sourceKey && sourceValue !== undefined) {
86
- context.sourceValues = {
87
- [sourceKey]: sourceValue,
88
- };
89
- }
90
// @ts-expect-error TypeScript can't confirm the shape of dependencyValues matches the compute function's parameters
91
const newDerivedValue = compute(dependencyValues, context);
92
Log.info(`[OnyxDerived] updating value for ${key} in Onyx`);
0 commit comments