From c94a22f9bc51ceb28ba0c5c53cd771afd1ab97b5 Mon Sep 17 00:00:00 2001 From: stevepodell Date: Sun, 3 Mar 2024 15:21:19 -0800 Subject: [PATCH] Update WebApp to handle Twitter V2 API -- Sign in with Twitter is working again Resolves https://wevoteusa.atlassian.net/browse/WV-280 --- src/js/pages/Process/TwitterSignInProcess.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/pages/Process/TwitterSignInProcess.jsx b/src/js/pages/Process/TwitterSignInProcess.jsx index 3ac78e3d3..77d53ff3f 100644 --- a/src/js/pages/Process/TwitterSignInProcess.jsx +++ b/src/js/pages/Process/TwitterSignInProcess.jsx @@ -36,6 +36,7 @@ export default class TwitterSignInProcess extends Component { this.appStateSubscription = messageService.getMessage().subscribe(() => this.onAppObservableStoreChange()); this.twitterStoreListener = TwitterStore.addListener(this.onTwitterStoreChange.bind(this)); this.voterStoreListener = VoterStore.addListener(this.onVoterStoreChange.bind(this)); + window.scrollTo(0, 0); this.twitterSignInRetrieve(); const { location: { search } } = this.props; const { redirectCount } = this.state;