mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 03:25:52 +01:00
Fix render error
This commit is contained in:
parent
6a8007fe28
commit
9884ee24eb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user