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