diff --git a/app/src/components/layout/sidebarRight/properties/AisleProperties.tsx b/app/src/components/layout/sidebarRight/properties/AisleProperties.tsx index ca2317d..e6493f4 100644 --- a/app/src/components/layout/sidebarRight/properties/AisleProperties.tsx +++ b/app/src/components/layout/sidebarRight/properties/AisleProperties.tsx @@ -98,27 +98,27 @@ const AisleProperties: React.FC = () => { const dashLengthValue = useMemo(() => { return dashLength.toString(); - }, [aisleType, dashLength]); + }, [dashLength]); const dotRadiusValue = useMemo(() => { return dotRadius.toString(); - }, [aisleType, dotRadius]); + }, [dotRadius]); const gapLengthValue = useMemo(() => { return gapLength.toString(); - }, [aisleType, gapLength]); + }, [gapLength]); const aisleWidthValue = useMemo(() => { return aisleWidth.toString(); - }, [aisleType, aisleWidth]); + }, [aisleWidth]); const aisleLengthValue = useMemo(() => { return aisleLength.toString(); - }, [aisleType, aisleLength]); + }, [aisleLength]); const aisleIsFlipped = useMemo(() => { return isFlipped; - }, [aisleType, isFlipped]); + }, [isFlipped]); const renderAdvancedProperties = () => { switch (aisleType) { @@ -286,7 +286,7 @@ const AisleProperties: React.FC = () => { onClick={() => setAisleColor(val.id)} aria-pressed={aisleColor === val.id} > -
diff --git a/app/src/modules/builder/asset/models/model/eventHandlers/useEventHandlers.ts b/app/src/modules/builder/asset/models/model/eventHandlers/useEventHandlers.ts index edd9f4e..6042ba5 100644 --- a/app/src/modules/builder/asset/models/model/eventHandlers/useEventHandlers.ts +++ b/app/src/modules/builder/asset/models/model/eventHandlers/useEventHandlers.ts @@ -3,9 +3,8 @@ import { CameraControls } from '@react-three/drei'; import { ThreeEvent, useThree } from '@react-three/fiber'; import { useCallback, useEffect, useRef } from 'react'; -import { useActiveTool, useResourceManagementId, useToggleView, useZoneAssetId } from '../../../../../../store/builder/store'; +import { useActiveTool, useResourceManagementId, useToggleView, useZoneAssetId, useSocketStore } from '../../../../../../store/builder/store'; import useModuleStore, { useSubModuleStore } from '../../../../../../store/useModuleStore'; -import { useSocketStore } from '../../../../../../store/builder/store'; import { useSceneContext } from '../../../../../scene/sceneContext'; import { useProductContext } from '../../../../../simulation/products/productContext'; import { useVersionContext } from '../../../../version/versionContext';