Use AbstractClient from flipper-frontend-core in fliper-ui-core
Summary: This stack attempts to start using flipper-frontend-core from flipper-ui-core. Currently, flipper-frontend-core contains lots of copy-pasted code from flipper-ui-core. Reviewed By: lblasa Differential Revision: D37139198 fbshipit-source-id: 042db7492c550e10ea72c32fd15001c141bf53f9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c2e3c4eb50
commit
ef5fa275a3
@@ -63,7 +63,8 @@ export const getActiveDevice = createSelector(
|
||||
}
|
||||
// if there is an active app, use device owning the app
|
||||
if (client) {
|
||||
return client.device;
|
||||
// TODO: Will be fixed later in the stack
|
||||
return client.device as any;
|
||||
}
|
||||
return selectedDevice;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user