diff --git a/src/pages/user/login/components/Login/LoginTab.tsx b/src/pages/user/login/components/Login/LoginTab.tsx index adbed2ac..4f7ae00d 100644 --- a/src/pages/user/login/components/Login/LoginTab.tsx +++ b/src/pages/user/login/components/Login/LoginTab.tsx @@ -1,5 +1,4 @@ import React, { useEffect } from 'react'; -import { TabPaneProps } from 'antd/es/tabs'; import { Tabs } from 'antd'; import LoginContext, { LoginContextProps } from './LoginContext'; @@ -13,6 +12,8 @@ const generateId = (() => { }; })(); +type TabPaneProps = Parameters[0]; + interface LoginTabProps extends TabPaneProps { tabUtil: LoginContextProps['tabUtil']; active?: boolean;