Skip to content

Commit 8651662

Browse files
timneutkensrauchg
authored andcommitted
Dont' override glamor methods, use a new object instead (#754)
1 parent 0b2b56f commit 8651662

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/css.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { deprecated } from './utils'
2-
const css = require('glamor')
2+
import glamor from 'glamor'
3+
4+
const css = Object.assign({}, glamor)
35

46
for (const [k, v] of Object.entries(css)) {
57
if (typeof v === 'function') {

0 commit comments

Comments
 (0)