summaryrefslogtreecommitdiff
path: root/web/src/sidebar.tsx
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2025-11-11 08:57:25 +0100
committernavewindre <boneyaard@gmail.com>2025-11-11 08:57:25 +0100
commite52a00fad93831dfd7cf6fe9cdec8e1aaa3c2ccb (patch)
treec8be7f88360a7cbc57a8dd4dba28c012a178fb53 /web/src/sidebar.tsx
parentee4ca553a1234f9c5c0584b7897b41049e420685 (diff)
fix
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>