mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-28 21:24:26 +08:00
Updates the lineDiff to return empty array of changes when both the original and the changed text are equal. Then check in the CombinedDiffView whether there were actual diff before rendering. Bug: 406699819 Change-Id: I3f637f22b42a0eb4853b9897c2ea08fc632f79ea Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6404313 Reviewed-by: Ergün Erdoğmuş <ergunsh@chromium.org> Commit-Queue: Nikolay Vitkov <nvitkov@chromium.org>