diff --git a/src/App.jsx b/src/App.jsx
index 39f1c63..b10ab3b 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -460,7 +460,7 @@ const App = () => {
Kp
-
{spaceWeather?.data?.kIndex ?? '--'}
+
{solarIndices?.data?.kp?.current ?? spaceWeather?.data?.kIndex ?? '--'}
Bz
@@ -596,6 +596,7 @@ const App = () => {
localDate={localDate}
localWeather={localWeather}
spaceWeather={spaceWeather}
+ solarIndices={solarIndices}
use12Hour={use12Hour}
onTimeFormatToggle={handleTimeFormatToggle}
onSettingsClick={() => setShowSettings(true)}
diff --git a/src/components/Header.jsx b/src/components/Header.jsx
index 1441782..afcdd1d 100644
--- a/src/components/Header.jsx
+++ b/src/components/Header.jsx
@@ -12,6 +12,7 @@ export const Header = ({
localDate,
localWeather,
spaceWeather,
+ solarIndices,
use12Hour,
onTimeFormatToggle,
onSettingsClick,
@@ -113,17 +114,17 @@ export const Header = ({
})()}
SFI
- {spaceWeather?.data?.solarFlux || '--'}
+ {solarIndices?.data?.sfi?.current || spaceWeather?.data?.solarFlux || '--'}
K
- = 4 ? 'var(--accent-red)' : 'var(--accent-green)', fontWeight: '700' }}>
- {spaceWeather?.data?.kIndex ?? '--'}
+ = 4 ? 'var(--accent-red)' : 'var(--accent-green)', fontWeight: '700' }}>
+ {solarIndices?.data?.kp?.current ?? spaceWeather?.data?.kIndex ?? '--'}
SSN
- {spaceWeather?.data?.sunspotNumber || '--'}
+ {solarIndices?.data?.ssn?.current || spaceWeather?.data?.sunspotNumber || '--'}