DONE
This commit is contained in:
7
helpers/utils.js
Normal file
7
helpers/utils.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
*
|
||||
* @param reduced
|
||||
* @param input
|
||||
* @returns {{}}
|
||||
*/
|
||||
export const extractProps = (reduced, input) => Object.keys(reduced).reduce((a, b) => (a[b] = input[b], a), {})
|
||||
Reference in New Issue
Block a user