Skip to content

Commit

Permalink
fix: circular deps warning by rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
KenLSM committed Sep 18, 2024
1 parent 2aee35d commit 971c6d9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ import Link from '~components/Link'
import { UseTemplateModal } from '~features/admin-form/template/UseTemplateModal'
import { useEnv } from '~features/env/queries'
import { usePublicFormContext } from '~features/public-form/PublicFormContext'
import { DuplicateFormModal } from '~features/workspace/components/DuplicateFormModal'
// Explicit import to avoid circular dependency warnings by rollup
import { DuplicateFormModal } from '~features/workspace/components/DuplicateFormModal/DuplicateFormModal'

export const StickyPreviewHeader = ({
isOpen,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import {

import { ModalCloseButton } from '~components/Modal'

import { CreateFormModalContent } from '~features/workspace/components/CreateFormModal/CreateFormModalContent'
// Explicit import to avoid circular dependency warnings by rollup
import { CreateFormModalContent } from '~features/workspace/components/CreateFormModal/CreateFormModalContent/CreateFormModalContent'

import { UseTemplateWizardProvider } from './UseTemplateWizardProvider'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import {

import { ModalCloseButton } from '~components/Modal'

import { CreateFormModalContent } from './CreateFormModalContent'
// Explicit import to avoid circular dependency warnings by rollup
import { CreateFormModalContent } from './CreateFormModalContent/CreateFormModalContent'
import { CreateFormWizardProvider } from './CreateFormWizardProvider'

export type CreateFormModalProps = Pick<
Expand Down

0 comments on commit 971c6d9

Please sign in to comment.