File tree 4 files changed +7
-7
lines changed 4 files changed +7
-7
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
import BaseComponent from 'libs/components/BaseComponent' ;
2
2
import React , { PropTypes } from 'react' ;
3
3
4
- import actionPropTypes from '../../actions/actionPropTypes' ;
5
4
import CommentForm from './CommentForm/CommentForm' ;
6
5
import CommentList , { CommentPropTypes } from './CommentList/CommentList' ;
7
6
import css from './CommentBox.scss' ;
8
7
9
8
export default class CommentBox extends BaseComponent {
10
9
static propTypes = {
11
10
pollInterval : PropTypes . number . isRequired ,
12
- actions : actionPropTypes ,
11
+ actions : PropTypes . shape ( {
12
+ fetchComments : React . PropTypes . function ,
13
+ } ) ,
13
14
data : PropTypes . shape ( {
14
15
isFetching : React . PropTypes . boolean ,
15
16
isSaving : React . PropTypes . boolean ,
Original file line number Diff line number Diff line change 1
1
import React , { PropTypes } from 'react' ;
2
- import Input from 'react-bootstrap/lib/Input' ;
2
+
3
3
import Row from 'react-bootstrap/lib/Row' ;
4
4
import Col from 'react-bootstrap/lib/Col' ;
5
5
import Nav from 'react-bootstrap/lib/Nav' ;
@@ -10,6 +10,8 @@ import _ from 'lodash';
10
10
11
11
import BaseComponent from 'libs/components/BaseComponent' ;
12
12
13
+ import Input from '../../Input' ;
14
+
13
15
const emptyComment = { author : '' , text : '' } ;
14
16
const textPlaceholder = 'Say something using markdown...' ;
15
17
Original file line number Diff line number Diff line change 71
71
"postcss-loader" : " ^1.1.0" ,
72
72
"react" : " ^15.3.2" ,
73
73
"react-addons-pure-render-mixin" : " ^15.3.2" ,
74
- "react-bootstrap" : " ^0.29.5 " ,
74
+ "react-bootstrap" : " ^0.30.6 " ,
75
75
"react-dom" : " ^15.3.2" ,
76
76
"react-on-rails" : " ^6.1.2" ,
77
77
"react-redux" : " ^4.4.5" ,
You can’t perform that action at this time.
0 commit comments