Skip to content

Commit eed92b9

Browse files
tknkaaCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 000392b commit eed92b9

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/pages/Simulation/index.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Canvas } from "@react-three/fiber";
44
import { button, useControls } from "leva";
55
import { Suspense, useMemo, useState } from "react";
66
import type { OrbitControls as Controls } from "three-stdlib";
7+
import type { Vector3 } from "three";
78
import { earth, jupiter, mars, sun, venus } from "@/data/planets";
89
import { CameraController } from "./components/CameraController";
910
import { Explosion } from "./components/Explosion";
@@ -126,10 +127,7 @@ export default function Page() {
126127
syncWorld();
127128
};
128129

129-
const handleExplosion = (
130-
position: import("three").Vector3,
131-
radius: number,
132-
) => {
130+
const handleExplosion = (position: Vector3, radius: number) => {
133131
simulationWorld.registerExplosion(position, radius);
134132
syncWorld();
135133
};

0 commit comments

Comments
 (0)