fix IMainProps-type

This commit is contained in:
yusuke-ten
2024-08-12 19:10:23 +09:00
parent 8d21cbc2da
commit 349e081f1f

View File

@ -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<IMainProps> = () => {
const { t } = useTranslation()
const media = useBreakpoints()
const isMobile = media === MediaType.mobile