fix(build): fix build errors

This commit is contained in:
shafin-r
2026-03-12 17:47:04 +06:00
parent 4c83fcf7b4
commit c4d3988f8c

View File

@ -12,7 +12,7 @@ import { ChestOpenModal } from "../../components/ChestOpenModal";
import { InfoHeader } from "../../components/InfoHeader"; import { InfoHeader } from "../../components/InfoHeader";
import { Canvas, useThree, useFrame } from "@react-three/fiber"; import { Canvas, useThree, useFrame } from "@react-three/fiber";
import { Island3D } from "../../components/Island3D"; import { Island3D } from "../../components/Island3D";
import { Billboard, OrbitControls, Stars, Text } from "@react-three/drei"; import { OrbitControls, Stars } from "@react-three/drei";
import * as THREE from "three"; import * as THREE from "three";
// ─── Map geometry ───────────────────────────────────────────────────────────── // ─── Map geometry ─────────────────────────────────────────────────────────────
@ -860,11 +860,6 @@ const RouteSegment = ({
{/* Travelling ship on the active leg */} {/* Travelling ship on the active leg */}
{isActive && !isDone && ( {isActive && !isDone && (
<group ref={shipRef}> <group ref={shipRef}>
<Billboard>
<Text fontSize={0.3} anchorX="center" anchorY="middle">
</Text>
</Billboard>
{/* Gold wake glow disk */} {/* Gold wake glow disk */}
<mesh rotation-x={-Math.PI / 2} position-y={0.04}> <mesh rotation-x={-Math.PI / 2} position-y={0.04}>
<circleGeometry args={[0.19, 16]} /> <circleGeometry args={[0.19, 16]} />