Skip to content

Commit 95f6bf9

Browse files
committed
feat: Try to integrate MSA webview with frontend
1 parent d44b1dc commit 95f6bf9

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

apps/frontend/src/ui/components/overlay/account/AddAccountModal.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,13 @@ function AddAccountModal(props: AddAccountModalProps) {
7777
function start() {
7878
setStage(ModalStage.WaitingForCode);
7979

80-
// tryResult(bridge.commands.beginMsa).then((res) => {
81-
// console.log(res);
82-
// });
80+
tryResult(bridge.commands.authLogin).finally(finish);
8381
}
8482

85-
// function finish() {
86-
// props.setVisible(false);
87-
// props.refetch();
88-
// }
83+
function finish() {
84+
props.setVisible(false);
85+
props.refetch();
86+
}
8987

9088
return (
9189
<Modal.Simple

0 commit comments

Comments
 (0)