File tree Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 2727 "dependencies" : {
2828 "@material-ui/core" : " ^1.3.1" ,
2929 "@material-ui/icons" : " ^1.1.0" ,
30- "babel-runtime" : " ^6.26.0" ,
3130 "bowser" : " ^1.9.4" ,
3231 "express" : " ^4.11.2" ,
3332 "open" : " 0.0.5" ,
4039 "babel-core" : " ^6.26.3" ,
4140 "babel-loader" : " ^7.1.4" ,
4241 "babel-polyfill" : " ^6.26.0" ,
42+ "babel-preset-env" : " ^1.7.0" ,
4343 "babel-preset-es2015" : " ^6.24.1" ,
4444 "babel-preset-react" : " ^6.24.1" ,
4545 "babel-preset-stage-0" : " ^6.24.1" ,
4646 "babel-register" : " ^6.26.0" ,
47+ "babel-runtime" : " ^6.26.0" ,
4748 "css-loader" : " ^0.28.11" ,
4849 "extract-text-webpack-plugin" : " ^4.0.0-beta.0" ,
4950 "html-webpack-plugin" : " ^3.2.0" ,
Original file line number Diff line number Diff line change @@ -225,8 +225,6 @@ class App extends Component {
225225 this . state . localStream != null ? < LocalVideoView stream = { this . state . localStream } muted = { this . state . video_muted } id = { 'localview' } /> : null
226226 }
227227 </ div >
228-
229-
230228 < div className = { css . btnTools } >
231229 < Button variant = "fab" mini color = "primary" aria-label = "add" style = { styles . btnTool } onClick = { this . onVideoOnClickHandler } >
232230 {
@@ -249,7 +247,6 @@ class App extends Component {
249247 </ MuiThemeProvider >
250248 ) ;
251249 }
252-
253250}
254251
255252App . propTypes = {
Original file line number Diff line number Diff line change @@ -62,6 +62,6 @@ export default class LocalVideoView extends Component {
6262}
6363
6464LocalVideoView . propTypes = {
65- stream : PropTypes . any . isRequired , //用户id
66- id : PropTypes . string , //用户名
65+ stream : PropTypes . any . isRequired ,
66+ id : PropTypes . string ,
6767}
Original file line number Diff line number Diff line change @@ -69,6 +69,6 @@ export default class RemoteVideoView extends Component {
6969}
7070
7171RemoteVideoView . propTypes = {
72- stream : PropTypes . any . isRequired , //用户id
73- id : PropTypes . string . isRequired , //会话
72+ stream : PropTypes . any . isRequired ,
73+ id : PropTypes . string . isRequired ,
7474}
You can’t perform that action at this time.
0 commit comments