diff --git a/app/src/pages/ShelterModule.tsx b/app/src/pages/ShelterModule.tsx index 6e6da49..4cab08c 100644 --- a/app/src/pages/ShelterModule.tsx +++ b/app/src/pages/ShelterModule.tsx @@ -104,9 +104,9 @@ const ShelterModule: React.FC = () => { title: 'Geometria, Inclinação e Fechamentos do Abrigo', type: 'grid', gridItems: [ - { label: 'Comprimento (d / balanço)', value: `${depth} m` }, - { label: 'Largura (b)', value: `${width} m` }, - { label: 'Altura do Pilar (h)', value: `${height} m` }, + { label: 'Comprimento (d / balanço)', value: `${depth.toFixed(1)} m` }, + { label: 'Largura (b)', value: `${width.toFixed(1)} m` }, + { label: 'Altura do Pilar (h)', value: `${height.toFixed(1)} m` }, { label: 'Inclinação da Cobertura (θ)', value: `${theta}°` }, { label: 'Incidência do Vento (Direção)', value: angleLabel }, { label: 'Fechamento da Parede Traseira', value: `${backClosure}%` }, @@ -363,16 +363,16 @@ const ShelterModule: React.FC = () => {
Altura do Pilar (h): - {height} m + {height.toFixed(1)} m
setHeight(v[0])} />
Largura do Abrigo (b): - {width} m + {width.toFixed(1)} m
- setWidth(v[0])} /> + setWidth(v[0])} />