optimize: remove unused import

This commit is contained in:
semmy 2022-01-24 14:32:32 +08:00
parent bd285e0ba9
commit 9c6ad9967f

View File

@ -1,21 +1,7 @@
import React, { createContext, useContext, useEffect, useMemo, useState } from 'react';
import { uid } from '@formily/shared';
import { createForm, Form } from '@formily/core';
import { useCookieState, useUpdateEffect } from 'ahooks';
import { useTranslation } from 'react-i18next';
import {
Schema,
FormProvider,
RecursionField,
createSchemaField,
IRecursionFieldProps,
ISchemaFieldProps,
SchemaOptionsContext,
SchemaReactComponents,
SchemaExpressionScopeContext,
} from '@formily/react';
import { IRecursionComponentProps, ISchemaComponentProvider } from '../types';
import { RecursionField, SchemaExpressionScopeContext, SchemaOptionsContext } from '@formily/react';
import React, { useContext } from 'react';
import { SchemaComponentContext } from '../context';
import { IRecursionComponentProps } from '../types';
export const RecursionComponent: React.FC<IRecursionComponentProps> = (props) => {
const { components, scope } = useContext(SchemaComponentContext);