Skip to content

Commit 140df9b

Browse files
fix(SSR): support for r151+
1 parent 72bfe72 commit 140df9b

File tree

2 files changed

+1355
-3
lines changed

2 files changed

+1355
-3
lines changed

src/effects/SSR.tsx renamed to src/effects/SSR/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React, { Ref, forwardRef, useLayoutEffect, useEffect, useContext, useMemo } from 'react'
22
/* @ts-ignore */
3-
import { SSREffect } from 'screen-space-reflections'
4-
import { EffectComposerContext } from '../EffectComposer'
5-
import { selectionContext } from '../Selection'
3+
import { SSREffect } from './screen-space-reflections'
4+
import { EffectComposerContext } from '../../EffectComposer'
5+
import { selectionContext } from '../../Selection'
66
import { useThree } from '@react-three/fiber'
77

88
// first two args are camera and texture

0 commit comments

Comments
 (0)