From 1b54ef6a7da4b2d356a2a33abf98cbb7bf39df2f Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Mon, 12 May 2025 17:57:33 +0200 Subject: Fix bugs, add new setting, make app great again --- src/pages/Settings.tsx | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'src/pages/Settings.tsx') diff --git a/src/pages/Settings.tsx b/src/pages/Settings.tsx index e4a1a31..1ad15ab 100644 --- a/src/pages/Settings.tsx +++ b/src/pages/Settings.tsx @@ -2,7 +2,7 @@ import { useApp } from "../AppContext"; import "../styles/Settings.css"; export function Settings() { - const { theme, setTheme, tableStyle, setTableStyle } = useApp(); + const { theme, setTheme, tableStyle, setTableStyle, mapPositionMode, setMapPositionMode } = useApp(); return (
@@ -15,20 +15,25 @@ export function Settings() {

Ajustes

- setTheme(e.target.value as "light" | "dark")}>
- setTableStyle(e.target.value as "regular" | "grouped")}>
+
+ + +
¿Qué significa esto?

@@ -44,16 +49,16 @@ export function Settings() {

Créditos

- + Código en GitHub - - Desarrollado por + Desarrollado por Ariel Costas

- Datos obtenidos de datos.vigo.org bajo - licencia Open Data Commons Attribution License + Datos obtenidos de datos.vigo.org bajo + licencia Open Data Commons Attribution License

) -- cgit v1.3