Skip to content

Commit 76c40e4

Browse files
committed
Fix style
1 parent 29f3b64 commit 76c40e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

__tests__/processPlugins.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,10 @@ test('plugins can add base styles with object syntax', () => {
259259
[
260260
function({ addBase }) {
261261
addBase({
262-
'img': {
262+
img: {
263263
maxWidth: '100%',
264264
},
265-
'button': {
265+
button: {
266266
fontFamily: 'inherit',
267267
},
268268
})

src/util/processPlugins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default function(plugins, config) {
6464

6565
pluginComponents.push(...styles.nodes)
6666
},
67-
addBase: (baseStyles) => {
67+
addBase: baseStyles => {
6868
pluginBaseStyles.push(...parseStyles(baseStyles))
6969
},
7070
addVariant: (name, generator) => {

0 commit comments

Comments
 (0)