This commit is contained in:
2021-10-15 02:00:40 +03:00
parent 74316481f1
commit ade92e0493
15 changed files with 884 additions and 0 deletions

7
helpers/utils.js Normal file
View 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), {})