mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2025-12-08 17:32:27 +08:00
fix IMainProps-type
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user