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.
1 parent d44b1dc commit 95f6bf9Copy full SHA for 95f6bf9
apps/frontend/src/ui/components/overlay/account/AddAccountModal.tsx
@@ -77,15 +77,13 @@ function AddAccountModal(props: AddAccountModalProps) {
77
function start() {
78
setStage(ModalStage.WaitingForCode);
79
80
- // tryResult(bridge.commands.beginMsa).then((res) => {
81
- // console.log(res);
82
- // });
+ tryResult(bridge.commands.authLogin).finally(finish);
83
}
84
85
- // function finish() {
86
- // props.setVisible(false);
87
- // props.refetch();
88
- // }
+ function finish() {
+ props.setVisible(false);
+ props.refetch();
+ }
89
90
return (
91
<Modal.Simple
0 commit comments