Fix code style

This commit is contained in:
Adam Wathan 2019-02-13 14:25:37 -05:00
parent 2342d72c5e
commit d95d28eec8
2 changed files with 7 additions and 6 deletions

View file

@ -13,7 +13,8 @@ function resolveFunctionKeys(object) {
}
function without(object, key) {
return (({[key]: _, ...rest }) => rest)(object)
/* eslint-disable no-unused-vars */
return (({ [key]: _, ...rest }) => rest)(object)
}
function mergeExtensions(theme) {
@ -21,7 +22,7 @@ function mergeExtensions(theme) {
return isFunction(theme[key])
? mergedTheme => ({
...theme[key](mergedTheme),
...extensions
...extensions,
})
: {
...theme[key],