Skip to content

Commit a566c97

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/effects/Autofocus.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ 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 '..'
1615
import { easing } from 'maath'
1716

17+
import { DepthOfField } from './DepthOfField'
18+
import { EffectComposerContext } from '../EffectComposer'
19+
1820
export type AutofocusProps = React.ComponentProps<typeof DepthOfField> & {
1921
target?: Vector3
2022
/** should the target follow the pointer */

0 commit comments

Comments
 (0)