Clean up after merging master into next-v5.0 (#3956)

Co-authored-by: Francisco <fg@frang.io>
This commit is contained in:
Hadrien Croubois
2023-01-15 01:19:47 +01:00
committed by GitHub
parent 147dc89054
commit 30c3c6c16e
3 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
function mapValues(obj, fn) {
return Object.fromEntries([...Object.entries(obj)].map(([k, v]) => [k, fn(v)]));
return Object.fromEntries(Object.entries(obj).map(([k, v]) => [k, fn(v)]));
}
module.exports = {