Skip to content

Commit

Permalink
Dont' override glamor methods, use a new object instead (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens authored and rauchg committed Jan 12, 2017
1 parent 0b2b56f commit 8651662
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/css.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { deprecated } from './utils'
const css = require('glamor')
import glamor from 'glamor'

const css = Object.assign({}, glamor)

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

0 comments on commit 8651662

Please sign in to comment.