feat: Try to integrate MSA webview with frontend

This commit is contained in:
LynithDev 2024-07-28 22:02:50 +02:00
parent d44b1dc35c
commit 95f6bf9d87

View file

@ -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