mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
[Perf Tracks] Use minus (-) instead of en dash for removed props (#35649)
This commit is contained in:
1 parent
ff191f24b5
commit
87ae75b33f
2 files changed
+4
-4
No files matched your search
@@ -231,7 +231,7 @@ describe('ReactPerformanceTracks', () => {
|
||||
properties: [
|
||||
['Changed Props', ''],
|
||||
[' data', ''],
|
||||
['– buffer', 'null'],
|
||||
['- buffer', 'null'],
|
||||
['+ buffer', 'Uint8Array'],
|
||||
['+ 0', '0'],
|
||||
['+ 1', '0'],
|
||||
@@ -422,7 +422,7 @@ describe('ReactPerformanceTracks', () => {
|
||||
color: 'error',
|
||||
properties: [
|
||||
['Changed Props', ''],
|
||||
['– value', '1'],
|
||||
['- value', '1'],
|
||||
['+ value', '2'],
|
||||
],
|
||||
tooltipText: 'Left',
|
||||
@@ -510,7 +510,7 @@ describe('ReactPerformanceTracks', () => {
|
||||
[' data', ''],
|
||||
[' deeply', ''],
|
||||
[' nested', ''],
|
||||
['– numbers', 'Array'],
|
||||
['- numbers', 'Array'],
|
||||
['+ numbers', 'Array'],
|
||||
],
|
||||
tooltipText: 'App',
|
||||
|
||||
@@ -279,7 +279,7 @@ export function addValueToProperties(
|
||||
properties.push([prefix + '\xa0\xa0'.repeat(indent) + propertyName, desc]);
|
||||
}
|
||||
|
||||
const REMOVED = '\u2013\xa0';
|
||||
const REMOVED = '-\xa0';
|
||||
const ADDED = '+\xa0';
|
||||
const UNCHANGED = '\u2007\xa0';
|
||||
|
||||
|
||||
Reference in new issue
Block a user