diff --git a/shared/actions/login/index.js b/shared/actions/login/index.js
index <HASH>..<HASH> 100644
--- a/shared/actions/login/index.js
+++ b/shared/actions/login/index.js
@@ -413,10 +413,10 @@ function makeKex2IncomingMap (dispatch, getState) : incomingCallMapType {
           devices={devices}
           onSelect={deviceID => {
             const type: DeviceRole = devices[devices.findIndex(d => d.deviceID === deviceID)].type
-            const role = {
+            const role = ({
               mobile: Constants.codePageDeviceRoleExistingPhone,
-              computer: Constants.codePageDeviceRoleExistingComputer
-            }[type]
+              desktop: Constants.codePageDeviceRoleExistingComputer
+            }: {[key: DeviceType]: string})[type]
             dispatch(setCodePageOtherDeviceRole(role))
             response.result(deviceID)
           }}
Fix 'enter text code on other device' screen

Fix comes from @MarcoPolo.