client/src/store/index.js
author ymh <ymh.work@gmail.com>
Tue, 04 Dec 2018 18:56:31 +0100
changeset 192 e4c2c1919c20
parent 168 ea92f4fe783d
permissions -rw-r--r--
Add placeholder translation for empty title and description

import * as R from 'ramda';

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