Skip to content

Commit

Permalink
Fix open component when navigating between tabs
Browse files Browse the repository at this point in the history
adeira-source-id: 23a736e285b13c0a0d8cfda4fc623237456d52ea
  • Loading branch information
itsdouges authored and triplex-bot committed Dec 15, 2023
1 parent 41d5bed commit bb167c7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion examples/test-fixture/src/scene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { PerspectiveCamera } from "@react-three/drei";
import Box from "./geometry/box";

export default function Scene() {
export function Scene() {
return (
<>
<ambientLight position={[2.12, 0, -0.88]} />
Expand All @@ -28,3 +28,11 @@ export default function Scene() {
</>
);
}

export function Plane() {
return (
<mesh>
<planeGeometry />
</mesh>
);
}

0 comments on commit bb167c7

Please sign in to comment.