From 85599f4d36b001f9a939f7cd8441a747b3b58280 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 4 Jul 2025 12:41:48 +0800 Subject: [PATCH] fix: import React --- src/components/RightContent/index.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 (