Skip to content

Commit 4cfaf42

Browse files
committed
2 parents 3f81a15 + 307fd4f commit 4cfaf42

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class TwitterLogin extends Component {
1313
this.onButtonClick = this.onButtonClick.bind(this);
1414
}
1515

16-
onButtonClick() {
16+
onButtonClick(e) {
17+
e.preventDefault();
1718
return this.getRequestToken();
1819
}
1920

0 commit comments

Comments
 (0)