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

@@ -25,7 +25,7 @@ import {Dispatch, Action} from 'redux';
import PluginPackageInstaller from './PluginPackageInstaller';
import {Toolbar} from 'flipper-plugin';
import {Alert, Button, Input, Tooltip, Typography} from 'antd';
import {getRenderHostInstance} from '../../RenderHost';
import {getRenderHostInstance} from 'flipper-frontend-core';
import {WarningOutlined} from '@ant-design/icons';
const {Text, Link} = Typography;

View File

@@ -18,7 +18,7 @@ import {
import styled from '@emotion/styled';
import React, {useState} from 'react';
import {Toolbar, FileSelector} from 'flipper-plugin';
import {getRenderHostInstance} from '../../RenderHost';
import {getRenderHostInstance} from 'flipper-frontend-core';
const CenteredGlyph = styled(Glyph)({
margin: 'auto',

View File

@@ -14,7 +14,7 @@ import configureStore from 'redux-mock-store';
import {Provider} from 'react-redux';
import type {PluginDetails, UpdatablePluginDetails} from 'flipper-common';
import {Store} from '../../../reducers';
import {getRenderHostInstance} from '../../../RenderHost';
import {getRenderHostInstance} from 'flipper-frontend-core';
let getUpdatablePluginsMock: jest.Mock<any, any>;