diff --git a/packages/hover-vanilla/src/index.js b/packages/hover-vanilla/src/index.js index 1ebe1ba3..cb6cbb78 100644 --- a/packages/hover-vanilla/src/index.js +++ b/packages/hover-vanilla/src/index.js @@ -27,7 +27,7 @@ function parseJSON (value) { } } -function parseObject (obj) {function parseObject (obj) { +function parseObject (obj) { return Object.keys(obj).reduce(function (acc, key) { acc[key] = parseJSON(obj[key]) return acc