Update src/app/gym-3d/page.tsx
This commit is contained in:
@@ -5,17 +5,8 @@ import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatin
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import { Mail, Send } from 'lucide-react';
|
||||
import * as THREE from "three";
|
||||
import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader.js";
|
||||
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls.js";
|
||||
|
||||
declare global {
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
canvas: React.CanvasHTMLAttributes<HTMLCanvasElement>;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default function Gym3D() {
|
||||
const canvasRef = useRef<HTMLCanvasElement>(null);
|
||||
const [formData, setFormData] = useState({ name: "", email: "", message: "" });
|
||||
|
||||
Reference in New Issue
Block a user