From 77b69e9fc80cb366b854a497732ded7956508218 Mon Sep 17 00:00:00 2001 From: Adam Roe Date: Wed, 14 Aug 2024 18:16:49 +1000 Subject: [PATCH] Update defaults --- client/src/AppContext.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/AppContext.js b/client/src/AppContext.js index 749eba5..5ac2eeb 100644 --- a/client/src/AppContext.js +++ b/client/src/AppContext.js @@ -39,10 +39,10 @@ export function AppContextProvider({ children }) { const [dailyWeatherDataErrMsg, setDailyWeatherDataErrMsg] = useState(null); const [panToCoords, setPanToCoords] = useState(null); const [markerIsVisible, setMarkerIsVisible] = useState(true); - const [tempUnit, setTempUnit] = useState("f"); // fahrenheit or celsius - const [speedUnit, setSpeedUnit] = useState("mph"); // mph or ms for m/s - const [lengthUnit, setLengthUnit] = useState("in"); // in or mm - const [clockTime, setClockTime] = useState("12"); // 12h or 24h time for clock + const [tempUnit, setTempUnit] = useState("c"); // fahrenheit or celsius + const [speedUnit, setSpeedUnit] = useState("ms"); // mph or ms for m/s + const [lengthUnit, setLengthUnit] = useState("mm"); // in or mm + const [clockTime, setClockTime] = useState("24"); // 12h or 24h time for clock const [animateWeatherMap, setAnimateWeatherMap] = useState(false); const [settingsMenuOpen, setSettingsMenuOpen] = useState(false); const [customLat, setCustomLat] = useState(null);