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.
2 parents fc01dbc + 4d81d5f commit 307fd4fCopy full SHA for 307fd4f
1 file changed
src/index.js
@@ -13,7 +13,8 @@ class TwitterLogin extends Component {
13
this.onButtonClick = this.onButtonClick.bind(this);
14
}
15
16
- onButtonClick() {
+ onButtonClick(e) {
17
+ e.preventDefault();
18
return this.getRequestToken();
19
20
0 commit comments