feat: privacy prefs (#935)

* chore: move all components into Components dir with pascal case

* feat: privacy prefs

* chore: upgrade deps
This commit is contained in:
Mo
2022-03-17 12:19:07 -05:00
committed by GitHub
parent c29e45795d
commit fb9bd37d72
10 changed files with 273 additions and 88 deletions

View File

@@ -123,13 +123,13 @@ export class ChallengeModal extends PureComponent<Props, State> {
})
) {
this.dismiss();
this.application.signOut();
this.application.user.signOut();
}
};
cancel = () => {
if (this.props.challenge.cancelable) {
this.application!.cancelChallenge(this.props.challenge);
this.application.cancelChallenge(this.props.challenge);
}
};