Skip to content

Commit 93b3fd7

Browse files
committed
➖ Remove create-react-context polyfill
1 parent 9035580 commit 93b3fd7

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@
113113
"rimraf": "^2.6.2"
114114
},
115115
"dependencies": {
116-
"create-react-context": "^0.2.3",
117116
"emotion": "^9.2.8",
118117
"emotion-theming": "^9.2.6",
119118
"pss": "^2.3.0",

src/current-media-provider/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import React, { Component } from 'react'
2-
import createContext from 'create-react-context'
1+
import React, { createContext, Component } from 'react'
32
import { withTheme } from 'emotion-theming'
43

54
const INITIAL_STATE = {

yarn.lock

-7
Original file line numberDiff line numberDiff line change
@@ -3409,13 +3409,6 @@ create-react-context@^0.2.2:
34093409
fbjs "^0.8.0"
34103410
gud "^1.0.0"
34113411

3412-
create-react-context@^0.2.3:
3413-
version "0.2.3"
3414-
resolved "https://registry.yarnpkg.com/create-react-context/-/create-react-context-0.2.3.tgz#9ec140a6914a22ef04b8b09b7771de89567cb6f3"
3415-
dependencies:
3416-
fbjs "^0.8.0"
3417-
gud "^1.0.0"
3418-
34193412
34203413
version "5.2.0"
34213414
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.2.0.tgz#6ecd4c015d5773e614039ee529076669b9d126f2"

0 commit comments

Comments
 (0)