Skip to content

Commit

Permalink
4/4 Fix RNHostComponentDetailsRoute to display differences between SV…
Browse files Browse the repository at this point in the history
…Cs and NVCs

Summary: Changelog: [Internal]

Reviewed By: RSNara

Differential Revision: D33718142

fbshipit-source-id: d3a05503e7cc2b76a66a26376a47e4acdc30d514
  • Loading branch information
p-sun authored and facebook-github-bot committed Jan 25, 2022
1 parent 6360532 commit 0567fd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Libraries/Utilities/verifyComponentAttributeEquivalence.js
Expand Up @@ -60,6 +60,8 @@ export default function verifyComponentAttributeEquivalence(
}
}

// Return the different key-value pairs of the right object, by iterating through the keys in the left object
// Note it won't return a difference where a key is missing in the left but exists the right.
export function lefthandObjectDiff(leftObj: Object, rightObj: Object): Object {
const differentKeys = {};

Expand Down

0 comments on commit 0567fd0

Please sign in to comment.