Fix render error

This commit is contained in:
RMidhunSuresh 2023-03-28 18:13:38 +05:30
parent 6a8007fe28
commit 9884ee24eb

View File

@ -31,7 +31,7 @@ export class DeviceVerificationView extends TemplateView<DeviceVerificationViewM
}
}, [
t.mapView(vm => vm.currentStageViewModel, (vm) => {
switch (vm) {
switch (vm?.kind) {
case "waiting-for-user": return new WaitingForOtherUserView(vm);
case "verification-cancelled": return new VerificationCancelledView(vm);
case "select-method": return new SelectMethodView(vm);