Skip to content

Commit e34ba46

Browse files
committed
fix: removing circular deps
1 parent eed3847 commit e34ba46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/effects/Autofocus.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ import React, {
1212
} from 'react'
1313
import { useThree, useFrame, createPortal, Vector3 } from '@react-three/fiber'
1414
import { CopyPass, DepthPickingPass, DepthOfFieldEffect } from 'postprocessing'
15-
import { DepthOfField, EffectComposerContext } from '..'
15+
import { DepthOfField } from './DepthOfField'
16+
import { EffectComposerContext } from '../EffectComposer'
1617
import { easing } from 'maath'
1718

1819
export type AutofocusProps = React.ComponentProps<typeof DepthOfField> & {

0 commit comments

Comments
 (0)