Use BaseDevice from flipper-frontend-core in flipper-ui-core
Summary: Use BasDevice definition from flipper-frontend-core in flipper-ui-core and remove the redundant definition from flipper-ui-core Reviewed By: lblasa Differential Revision: D37234785 fbshipit-source-id: 6e768090a197c1d2c49cb1cd573acea12fb65d24
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ef5fa275a3
commit
fd380a4c1e
@@ -101,16 +101,12 @@ export async function handleDeeplink(
|
||||
const selectedClient = getAllClients(store.getState().connections).find(
|
||||
(c) =>
|
||||
c.query.app === match[0] &&
|
||||
// TODO: Remove at the end of migration
|
||||
// @ts-expect-error
|
||||
(selectedDevice == null || c.device === selectedDevice),
|
||||
);
|
||||
|
||||
store.dispatch(
|
||||
selectPlugin({
|
||||
selectedAppId: selectedClient?.id,
|
||||
// TODO: Remove at the end of migration
|
||||
// @ts-expect-error
|
||||
selectedDevice: selectedClient ? selectedClient.device : selectedDevice,
|
||||
selectedPlugin: match[1],
|
||||
deepLinkPayload,
|
||||
|
||||
Reference in New Issue
Block a user