diff --git a/app/components/settings/Settings.tsx b/app/components/settings/Settings.tsx index 28aeb87..d0f769b 100644 --- a/app/components/settings/Settings.tsx +++ b/app/components/settings/Settings.tsx @@ -111,6 +111,9 @@ const Settings: React.FC<{ closeSettings: () => void; accountName: string }> = ( // Theme selection const [selectedTheme, setSelectedTheme] = useState(''); + // Weather selection + const [weatherInfo, setWeatherInfo] = useState(localStorage.getItem('weatherInfo') || ""); + // API Keys const [mistral, setMistral] = useState(localStorage.getItem('mistral') || ""); @@ -132,6 +135,7 @@ const Settings: React.FC<{ closeSettings: () => void; accountName: string }> = ( disableChatHistory, disableAIMemory, openSourceMode, + weatherInfo, myBoolean }, theme: { @@ -405,7 +409,13 @@ const Settings: React.FC<{ closeSettings: () => void; accountName: string }> = ( checked={myBoolean} setChecked={setMyBoolean} /> - +