mirror of
https://github.com/langgenius/dify.git
synced 2026-05-11 14:58:23 +08:00
fix: disable SSR for ImportSkillModal dynamic import
This commit is contained in:
parent
ea88bcfbd2
commit
9d5db4993d
@ -7,7 +7,9 @@ import { useTranslation } from 'react-i18next'
|
||||
import ActionCard from './action-card'
|
||||
import CreateBlankSkillModal from './create-blank-skill-modal'
|
||||
|
||||
const ImportSkillModal = dynamic(() => import('./import-skill-modal'))
|
||||
const ImportSkillModal = dynamic(() => import('./import-skill-modal'), {
|
||||
ssr: false,
|
||||
})
|
||||
|
||||
const CreateImportSection = () => {
|
||||
const { t } = useTranslation('workflow')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user