Fix code style
This commit is contained in:
parent
2342d72c5e
commit
d95d28eec8
2 changed files with 7 additions and 6 deletions
|
|
@ -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],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue