Skip to content

Commit

Permalink
DeltaPatcher: Dont call .entries for patch to avoid warnings on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Feb 1, 2019
1 parent c61129e commit a58d3eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/middlewares/delta/DeltaPatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export default class DeltaPatcher {
}

_patchMap(original, patch) {
for (const [key, value] of patch.entries()) {
for (const [key, value] of patch) {
if (value == null) {
original.delete(key);
} else if (checkFetchExists(value)) {
Expand Down

0 comments on commit a58d3eb

Please sign in to comment.