'use client' import useEditor from '../../../store/use-editor' import { BuildingHelper } from './building-helper' import { CeilingHelper } from './ceiling-helper' import { ItemHelper } from './item-helper' import { RoofHelper } from './roof-helper' import { SlabHelper } from './slab-helper' import { WallHelper } from './wall-helper' export function HelperManager() { const tool = useEditor((s) => s.tool) const movingNode = useEditor((state) => state.movingNode) if (movingNode) { if (movingNode.type === 'building') return return } // Show appropriate helper based on current tool switch (tool) { case 'wall': return case 'item': return case 'slab': return case 'ceiling': return case 'roof': return default: return null } }