lbry-desktop/ui/util/merge-claim.js
zeppi ee9f63a161 integrate all the things
bugfix

wip

flow

fix

cleaning

clean
2021-10-15 23:49:41 -04:00

7 lines
230 B
JavaScript

/*
new claim = { ...maybeResolvedClaim, ...pendingClaim, meta: maybeResolvedClaim['meta'] }
*/
export default function mergeClaims(maybeResolved, pending) {
return { ...maybeResolved, ...pending, meta: maybeResolved.meta };
}