edit vis precision

This commit is contained in:
madarsbiss 2021-07-21 11:11:44 +03:00
parent a96bec9db2
commit c329b12b17

View File

@ -182,7 +182,7 @@ export default function Home() {
width="100px" width="100px"
/> />
<div> <div>
<h1>{weatherData.visibility / 1000}</h1> <h1>{(weatherData.visibility / 1000).toPrecision(2)}</h1>
<p>km</p> <p>km</p>
</div> </div>
</div> </div>