1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Dont' override glamor methods, use a new object instead (#754)

This commit is contained in:
Tim Neutkens 2017-01-12 21:50:21 +01:00 committed by Guillermo Rauch
parent 0b2b56f174
commit 86516629cf

View file

@ -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') {