Created
March 10, 2016 15:15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/demo/components/App.jsx b/app/demo/components/App.jsx | |
index 97f1917..7cc4836 100644 | |
--- a/app/demo/components/App.jsx | |
+++ b/app/demo/components/App.jsx | |
@@ -59,10 +59,6 @@ class App extends React.Component { | |
this.resetTheme = this.resetTheme.bind(this) | |
} | |
- static childContextTypes = { | |
- rebass: React.PropTypes.object | |
- } | |
- | |
getChildContext () { | |
return { | |
rebass: this.state | |
@@ -160,5 +156,10 @@ class App extends React.Component { | |
} | |
} | |
+App.childContextTypes = { | |
+ name: React.PropTypes.object | |
+} | |
+ | |
+ | |
export default App |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment