Use getRenderHost from flipper-frontned-core in flipper-ui-core

Summary: See D37139129

Reviewed By: lblasa

Differential Revision: D37236435

fbshipit-source-id: 927e9f741bfedb65165f5d24f0acfb775925cdc7
This commit is contained in:
Andrey Goncharov
2022-06-20 12:18:40 -07:00
committed by Facebook GitHub Bot
parent fab8849c73
commit 17ab7a86ef
47 changed files with 49 additions and 197 deletions

View File

@@ -65,7 +65,7 @@ import {
} from '../utils/exportData';
import {openDeeplinkDialog} from '../deeplink';
import {css} from '@emotion/css';
import {getRenderHostInstance} from '../RenderHost';
import {getRenderHostInstance} from 'flipper-frontend-core';
import openSupportRequestForm from '../fb-stubs/openSupportRequestForm';
import {StyleGuide} from './StyleGuide';

View File

@@ -40,7 +40,7 @@ import fbConfig from '../fb-stubs/config';
import {isFBEmployee} from '../utils/fbEmployee';
import {notification} from 'antd';
import isProduction from '../utils/isProduction';
import {getRenderHostInstance} from '../RenderHost';
import {getRenderHostInstance} from 'flipper-frontend-core';
export type ToplevelNavItem =
| 'appinspect'

View File

@@ -31,7 +31,7 @@ import {State} from '../../reducers';
import {brandColors, brandIcons, colors} from '../../ui/components/colors';
import {TroubleshootingGuide} from './fb-stubs/TroubleshootingGuide';
import {getSelectableDevices} from '../../selectors/connections';
import {getRenderHostInstance} from '../../RenderHost';
import {getRenderHostInstance} from 'flipper-frontend-core';
const {Text} = Typography;

View File

@@ -25,7 +25,7 @@ import {
} from 'flipper-plugin';
import {Provider} from 'react-redux';
import {IOSDeviceParams} from 'flipper-common';
import {getRenderHostInstance} from '../../RenderHost';
import {getRenderHostInstance} from 'flipper-frontend-core';
import SettingsSheet from '../../chrome/SettingsSheet';
import {Link} from '../../ui';

View File

@@ -15,7 +15,7 @@ import {LaunchEmulatorDialog} from '../LaunchEmulator';
import {createRootReducer} from '../../../reducers';
import {sleep} from 'flipper-plugin';
import {getRenderHostInstance} from '../../../RenderHost';
import {getRenderHostInstance} from 'flipper-frontend-core';
test('Can render and launch android apps - no emulators', async () => {
const store = createStore(createRootReducer());