From 56c5ad419abd82c7df80b7b8b09a0201cb2aeea1 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Sat, 24 Jan 2026 16:20:09 +0000 Subject: [PATCH] format settings --- client/src/Pages/Settings/index.jsx | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/client/src/Pages/Settings/index.jsx b/client/src/Pages/Settings/index.jsx index 3f62f4ea4..bd3513a2c 100644 --- a/client/src/Pages/Settings/index.jsx +++ b/client/src/Pages/Settings/index.jsx @@ -17,7 +17,13 @@ import { useState } from "react"; import { useTheme } from "@emotion/react"; import { useTranslation } from "react-i18next"; import { useSelector, useDispatch } from "react-redux"; -import { setTimezone, setMode, setLanguage, setShowURL, setChartType } from "@/Features/UI/uiSlice.js"; +import { + setTimezone, + setMode, + setLanguage, + setShowURL, + setChartType, +} from "@/Features/UI/uiSlice.js"; import SettingsStats from "./SettingsStats.jsx"; import { useFetchSettings, useSaveSettings } from "@/Hooks/settingsHooks.js"; @@ -33,7 +39,13 @@ const BREADCRUMBS = [{ name: `Settings`, path: "/settings" }]; const Settings = () => { // Redux state - const { mode, language = "en", timezone, showURL, chartType = "histogram" } = useSelector((state) => state.ui); + const { + mode, + language = "en", + timezone, + showURL, + chartType = "histogram", + } = useSelector((state) => state.ui); // Local state const [settingsData, setSettingsData] = useState({});