Skip to content

Commit

Permalink
fix type-check error
Browse files Browse the repository at this point in the history
  • Loading branch information
DrSensor committed Jan 30, 2025
1 parent e1fbd99 commit 5bd2445
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/CadViewerContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const CadViewerContainer = forwardRef<
<object3D ref={ref}>{children}</object3D>
{hoveredComponent && (
<Html
position={hoveredComponent.mousePosition}
position={hoveredComponent.point}
style={{
fontFamily: "sans-serif",
transform: "translate3d(50%, 50%, 0)",
Expand Down
1 change: 0 additions & 1 deletion src/ContainerWithTooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { GroupProps, ThreeEvent } from "@react-three/fiber"
import { useRef, useCallback } from "react"
import * as THREE from "three"
import type * as React from "react"
import type { TooltipEvent } from "./events.ts"

const Group = (props: GroupProps) => <group {...props} />

Expand Down

0 comments on commit 5bd2445

Please sign in to comment.