diff --git a/src/components/mindset/components/Scene/Board/Node/index.tsx b/src/components/mindset/components/Scene/Board/Node/index.tsx index 1620e6f3e..4ff685c54 100644 --- a/src/components/mindset/components/Scene/Board/Node/index.tsx +++ b/src/components/mindset/components/Scene/Board/Node/index.tsx @@ -1,8 +1,7 @@ import { Html } from '@react-three/drei' import { useThree } from '@react-three/fiber' -import { memo, useState } from 'react' +import { memo } from 'react' import { Flex } from '~/components/common/Flex' -import { HoverCard } from '../../../../../Universe/CursorTooltip/HoverCard' import { RoundedRectangle } from '../RoundedRectangle' import { Content } from './Content' import { Image } from './Image' @@ -16,12 +15,10 @@ type Props = { name: string type: string color: string - description?: string } -export const Node = memo(({ width, height, position, url, onButtonClick, name, type, color, description }: Props) => { +export const Node = memo(({ width, height, position, url, onButtonClick, name, type, color }: Props) => { const { camera } = useThree() - const [isHovered, setIsHovered] = useState(false) return ( @@ -33,8 +30,6 @@ export const Node = memo(({ width, height, position, url, onButtonClick, name, t onButtonClick()} - onMouseEnter={() => setIsHovered(true)} - onMouseLeave={() => setIsHovered(false)} style={{ fontSize: '12px', color: 'white', @@ -49,7 +44,6 @@ export const Node = memo(({ width, height, position, url, onButtonClick, name, t }} > - {isHovered && } diff --git a/src/components/mindset/components/Scene/Board/index.tsx b/src/components/mindset/components/Scene/Board/index.tsx index ad101490c..6bf72c1e8 100644 --- a/src/components/mindset/components/Scene/Board/index.tsx +++ b/src/components/mindset/components/Scene/Board/index.tsx @@ -122,7 +122,6 @@ export const Board = () => { {