diff --git a/src/components/RightContent/index.tsx b/src/components/RightContent/index.tsx index 9a8e509b..1b1dedc7 100644 --- a/src/components/RightContent/index.tsx +++ b/src/components/RightContent/index.tsx @@ -1,11 +1,10 @@ import { QuestionCircleOutlined } from '@ant-design/icons'; import { SelectLang as UmiSelectLang } from '@umijs/max'; - import React from 'react'; export type SiderTheme = 'light' | 'dark'; -export const SelectLang = () => { +export const SelectLang: React.FC = () => { return ( { ); }; -export const Question = () => { +export const Question: React.FC = () => { return (