Skip to content

Commit

Permalink
Removed unused Common component
Browse files Browse the repository at this point in the history
  • Loading branch information
tyleryy authored Nov 11, 2023
1 parent 91c68c4 commit 28b1db7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions apps/site/src/components/canvas/View.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@ import { forwardRef, useImperativeHandle, useRef } from "react";
import { OrbitControls, View as ViewImpl } from "@react-three/drei";
import { Three } from "@/helpers/components/Three";

// export const Common = ({ color }: any) => (
// <Suspense fallback={null}>
// {color && <color attach="background" args={[color]} />}
// <ambientLight intensity={0.5} />
// <pointLight position={[20, 30, 10]} intensity={1} />
// <pointLight position={[-10, -10, -10]} color="blue" />
// <PerspectiveCamera makeDefault fov={40} position={[0, 0, 6]} />
// </Suspense>
// );

const View = forwardRef(({ children, orbit, ...props }: any, ref) => {
const localRef = useRef<any>();
useImperativeHandle(ref, () => localRef.current);
Expand Down

0 comments on commit 28b1db7

Please sign in to comment.