Page MenuHomePhabricator

D4196.diff
No OneTemporary

D4196.diff

diff --git a/lib/reducers/thread-reducer.js b/lib/reducers/thread-reducer.js
--- a/lib/reducers/thread-reducer.js
+++ b/lib/reducers/thread-reducer.js
@@ -127,14 +127,13 @@
return threadOperations;
}
-const emptyArray = [];
function findInconsistencies(
action: BaseAction,
beforeStateCheck: { +[id: string]: RawThreadInfo },
afterStateCheck: { +[id: string]: RawThreadInfo },
): ClientThreadInconsistencyReportCreationRequest[] {
if (_isEqual(beforeStateCheck)(afterStateCheck)) {
- return emptyArray;
+ return [];
}
return [
{

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 8, 8:34 PM (21 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2445975
Default Alt Text
D4196.diff (567 B)

Event Timeline