fix IMainProps-type
This commit is contained in:
parent
8d21cbc2da
commit
349e081f1f
1 changed files with 5 additions and 1 deletions
|
|
@ -23,7 +23,11 @@ import { API_KEY, APP_ID, APP_INFO, isShowPrompt, promptTemplate } from '@/confi
|
||||||
import type { Annotation as AnnotationType } from '@/types/log'
|
import type { Annotation as AnnotationType } from '@/types/log'
|
||||||
import { addFileInfos, sortAgentSorts } from '@/utils/tools'
|
import { addFileInfos, sortAgentSorts } from '@/utils/tools'
|
||||||
|
|
||||||
const Main: FC = () => {
|
export type IMainProps = {
|
||||||
|
params: any
|
||||||
|
}
|
||||||
|
|
||||||
|
const Main: FC<IMainProps> = () => {
|
||||||
const { t } = useTranslation()
|
const { t } = useTranslation()
|
||||||
const media = useBreakpoints()
|
const media = useBreakpoints()
|
||||||
const isMobile = media === MediaType.mobile
|
const isMobile = media === MediaType.mobile
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue