feat: Try to integrate MSA webview with frontend
This commit is contained in:
parent
d44b1dc35c
commit
95f6bf9d87
1 changed files with 5 additions and 7 deletions
|
|
@ -77,15 +77,13 @@ function AddAccountModal(props: AddAccountModalProps) {
|
|||
function start() {
|
||||
setStage(ModalStage.WaitingForCode);
|
||||
|
||||
// tryResult(bridge.commands.beginMsa).then((res) => {
|
||||
// console.log(res);
|
||||
// });
|
||||
tryResult(bridge.commands.authLogin).finally(finish);
|
||||
}
|
||||
|
||||
// function finish() {
|
||||
// props.setVisible(false);
|
||||
// props.refetch();
|
||||
// }
|
||||
function finish() {
|
||||
props.setVisible(false);
|
||||
props.refetch();
|
||||
}
|
||||
|
||||
return (
|
||||
<Modal.Simple
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue