remove unused React import
This commit is contained in:
parent
5055e938a5
commit
9fdb540ede
@ -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>;
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user