Skip to content

Commit edb1561

Browse files
committed
remove refs
1 parent 897714a commit edb1561

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/ChatBot.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,6 @@ class ChatBot extends Component {
498498
{!hideHeader && header}
499499
<Content
500500
className="rsc-content"
501-
ref={(content) => { this.rscContent = content; }}
502501
floating={floating}
503502
style={contentStyle}
504503
>
@@ -512,7 +511,6 @@ class ChatBot extends Component {
512511
type="textarea"
513512
style={inputStyle}
514513
className="rsc-input"
515-
ref={(input) => { this.rscInput = input; }}
516514
placeholder="Type the message ..."
517515
onKeyPress={this.handleKeyPress}
518516
onChange={this.onValueChange}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"prepush": "npm run lint && npm run test:coverage",
1010
"start": "webpack-dev-server --inline --content-base build/",
1111
"report-coverage": "nyc report --reporter=lcov > coverage.lcov && codecov",
12-
"test": "./node_modules/.bin/mocha tests/helpers/setup.js tests/**/*.spec.js --compilers js:./tests/helpers/compiler.js --require babel-register",
13-
"test:watch": "./node_modules/.bin/mocha tests/helpers/setup.js tests/**/*.spec.js --compilers js:./tests/helpers/compiler.js --require babel-register --watch",
12+
"test": "./node_modules/.bin/mocha tests/helpers/setup.js tests/**/*.spec.js --require babel-register",
13+
"test:watch": "npm test -- --watch",
1414
"test:coverage": "nyc npm test",
1515
"build": "webpack --config webpack.config.prod.js"
1616
},

0 commit comments

Comments
 (0)