From 62094299d41d0c22ed9084b9282f357a87953151 Mon Sep 17 00:00:00 2001
From: "theis.gaedigk"
Date: Fri, 1 Aug 2025 20:25:03 +0200
Subject: [PATCH] fix: change button type to submit in ChangeAPI component and
update temperature unit logic in WeatherData component
---
frontend/src/components/ChangeAPI.tsx | 2 +-
frontend/src/components/WeatherData.tsx | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/frontend/src/components/ChangeAPI.tsx b/frontend/src/components/ChangeAPI.tsx
index 52d4c4b..ded28d8 100644
--- a/frontend/src/components/ChangeAPI.tsx
+++ b/frontend/src/components/ChangeAPI.tsx
@@ -64,7 +64,7 @@ const ChangeAPI: React.FC = ({ currentAPIKey, onClose }) => {
/>
{weatherData?.sys?.country && (