diff --git a/packages/rmf-dashboard-framework/src/components/map/text-maker.tsx b/packages/rmf-dashboard-framework/src/components/map/text-maker.tsx index ba269712b..13f210f6c 100644 --- a/packages/rmf-dashboard-framework/src/components/map/text-maker.tsx +++ b/packages/rmf-dashboard-framework/src/components/map/text-maker.tsx @@ -21,11 +21,10 @@ export const TextThreeRendering = ({ position, text }: TextThreeRenderingProps): }; const scaleFactor = isHovered ? 2 : 1.0; - const positionX = text && text.length > 5 ? -2 : -1; return ( <> - + {text && ( {text && (