client/src/store/index.js
author ymh <ymh.work@gmail.com>
Sun, 25 Nov 2018 22:07:22 +0100
changeset 177 103b2e2a31fb
parent 168 ea92f4fe783d
permissions -rw-r--r--
Correct requirements entry for django-auditlog

import * as R from 'ramda';

export const Record = defaultValue => R.compose(R.merge(defaultValue), R.pick(R.keys(defaultValue)));