We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e76aa56 commit 9747fa8Copy full SHA for 9747fa8
src/app/components/UsefulLinks.js
@@ -1,16 +1,14 @@
1
-import React from 'react'
+import React, {PropTypes} from 'react'
2
import Reflux from 'reflux'
3
4
import LinksActions from '../actions/LinksActions'
5
import LinksStore from '../stores/LinksStore'
6
import {m} from '../lib/tools'
7
8
-const T = React.PropTypes;
9
-
10
const UsefulLinks = React.createClass({
11
mixins: [Reflux.listenTo(LinksStore, 'linksUpdate')],
12
propTypes: {
13
- title: T.string.isRequired
+ title: PropTypes.string.isRequired
14
},
15
getInitialState() {
16
return {
@@ -27,6 +25,7 @@ const UsefulLinks = React.createClass({
27
25
if (!this.state.links.length) {
28
26
return <span/>;
29
}
+
30
const styles = {
31
item: {
32
paddingLeft: 30
0 commit comments