From 349e081f1f61cec01a897f5c34306f11e016d2b1 Mon Sep 17 00:00:00 2001 From: yusuke-ten Date: Mon, 12 Aug 2024 19:10:23 +0900 Subject: [PATCH] fix IMainProps-type --- app/components/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/components/index.tsx b/app/components/index.tsx index 4591462..1d74d08 100644 --- a/app/components/index.tsx +++ b/app/components/index.tsx @@ -23,7 +23,11 @@ import { API_KEY, APP_ID, APP_INFO, isShowPrompt, promptTemplate } from '@/confi import type { Annotation as AnnotationType } from '@/types/log' import { addFileInfos, sortAgentSorts } from '@/utils/tools' -const Main: FC = () => { +export type IMainProps = { + params: any +} + +const Main: FC = () => { const { t } = useTranslation() const media = useBreakpoints() const isMobile = media === MediaType.mobile