Merge pull request #95 from yusuke-ten/fix/IMainProps-type

fix IMainProps-type
This commit is contained in:
crazywoola
2024-12-07 22:03:48 +08:00
committed by GitHub

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