summaryrefslogtreecommitdiff
path: root/web/src/sidebar.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/sidebar.tsx')
-rw-r--r--web/src/sidebar.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/src/sidebar.tsx b/web/src/sidebar.tsx
index a1b3ad7..ee93706 100644
--- a/web/src/sidebar.tsx
+++ b/web/src/sidebar.tsx
@@ -25,7 +25,6 @@ function getWeatherCache() {
const res = JSON.parse( localStorage.getItem( "weather" ) );
return res;
} catch( e ) {
- console.log( e );
return null;
}
}
@@ -57,7 +56,7 @@ function Weather() {
const humi = weather.current.relative_humidity_2m;
return <div id="weather">
<div class="sidebar-row"><h4>weather in </h4> <h4>愛知県、日本:</h4></div>
- <div class="sidebar-row"><h4>temperature:</h4><h4><span id="temp">{temp.toString()} </span>°C</h4></div>
+ <div class="sidebar-row"><h4>temperature:</h4><h4><span id="temp">{temp.toString()}</span>°C</h4></div>
<div class="sidebar-row"><h4>wind speed:</h4><h4><span id="wind">{wind.toString()}</span>km/h</h4></div>
<div class="sidebar-row"><h4>humidity:</h4><h4><span id="humi">{humi.toString()}</span>%</h4></div>
</div>