remove unused React import

This commit is contained in:
Chika 2021-08-31 21:43:25 +03:00
parent 5055e938a5
commit 9fdb540ede
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ import { Box } from 'client/UIKit/grid';
import mq from 'client/UIKit/mq';
import { toJS } from 'mobx';
import { observer } from 'mobx-react-lite';
import React, { useEffect } from 'react';
import { FC, useEffect } from 'react';
import styled from 'styled-components';
const TableWrapper = styled(Box)`
@ -48,4 +48,4 @@ export default observer(({ insType, selectKey, selectedKey, tableConfig }) => {
></AntTable>
</TableWrapper>
);
}) as React.FC<ITableProps>;
}) as FC<ITableProps>;

View File

@ -1,9 +1,9 @@
import React from 'react';
import { FC } from 'react';
import { AllElements } from './Store/elements';
import { TableNames } from './Store/tables';
export type ElementProps = { [key: string]: any };
export type Component = React.FC<any>;
export type Component = FC<any>;
interface IBlock {
title?: string;